Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009497, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.001081, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.11/1.11, allocations: 143.3 MB / 434.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003275, allocations: 8 kB / 0.5159 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1861, allocations: 83.43 MB / 0.5974 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5797/0.7658, allocations: 135.6 MB / 0.7298 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.7693, allocations: 1.627 MB / 0.7314 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.7696, allocations: 10.12 kB / 0.7314 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.7703, allocations: 176.1 kB / 0.7316 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.7718, allocations: 494 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.7732, allocations: 440.6 kB / 0.7325 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.7738, allocations: 358.5 kB / 0.7328 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.7742, allocations: 142.5 kB / 0.7329 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.7747, allocations: 214.5 kB / 0.7331 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.7748, allocations: 101.8 kB / 0.7332 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.7749, allocations: 10.16 kB / 0.7332 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009113/0.7758, allocations: 385.5 kB / 0.7336 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.7759, allocations: 73.42 kB / 0.7337 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.776, allocations: 67.94 kB / 0.7337 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.7765, allocations: 289.8 kB / 0.734 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.7765, allocations: 0 / 0.734 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7765, allocations: 0 / 0.734 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.7765, allocations: 0 / 0.734 GB, free: 13.47 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008557/0.7774, allocations: 0.532 MB / 0.7345 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.7774, allocations: 9.531 kB / 0.7346 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/0.7775, allocations: 47.14 kB / 0.7346 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.7779, allocations: 57.84 kB / 0.7347 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.7783, allocations: 282.5 kB / 0.7349 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.7784, allocations: 10.88 kB / 0.7349 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.7784, allocations: 13.62 kB / 0.7349 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.7789, allocations: 202.6 kB / 0.7351 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7789, allocations: 4.781 kB / 0.7351 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.7789, allocations: 5.438 kB / 0.7351 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.779, allocations: 4.156 kB / 0.7352 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.7793, allocations: 138 kB / 0.7353 GB, free: 12.53 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.7805, allocations: 0.7843 MB / 0.736 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.7808, allocations: 95.58 kB / 0.7361 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.7808, allocations: 14.39 kB / 0.7362 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.7809, allocations: 32.92 kB / 0.7362 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.7809, allocations: 0 / 0.7362 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007166/0.7816, allocations: 229.8 kB / 0.7364 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7816, allocations: 53.48 kB / 0.7365 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.7819, allocations: 268.5 kB / 0.7367 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.782, allocations: 27.08 kB / 0.7367 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.7821, allocations: 148 kB / 0.7369 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.7821, allocations: 38.91 kB / 0.7369 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.7822, allocations: 5.375 kB / 0.7369 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7823, allocations: 334.8 kB / 0.7372 GB, free: 11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.7824, allocations: 43.73 kB / 0.7373 GB, free: 11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.7827, allocations: 100.6 kB / 0.7374 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.7829, allocations: 54.03 kB / 0.7374 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7829, allocations: 0 / 0.7374 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004999/0.7834, allocations: 168 kB / 0.7376 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.7836, allocations: 361.1 kB / 0.7379 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7836, allocations: 5.156 kB / 0.7379 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.7836, allocations: 0 / 0.7379 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7838, allocations: 28.81 kB / 0.738 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.7838, allocations: 0 / 0.738 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.784, allocations: 26.03 kB / 0.738 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.7841, allocations: 12 kB / 0.738 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.7841, allocations: 4.609 kB / 0.738 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002998/0.7844, allocations: 121.1 kB / 0.7381 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.7844, allocations: 4.594 kB / 0.7381 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.7844, allocations: 4.594 kB / 0.7381 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.7845, allocations: 23.84 kB / 0.7382 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.7845, allocations: 0.6094 kB / 0.7382 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.7847, allocations: 28.72 kB / 0.7382 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.7848, allocations: 5.422 kB / 0.7382 GB, free: 10.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.7849, allocations: 225.7 kB / 0.7384 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.785, allocations: 19.72 kB / 0.7384 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.7854, allocations: 167.5 kB / 0.7386 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.7854, allocations: 0 / 0.7386 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7854, allocations: 0 / 0.7386 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7854, allocations: 4.562 kB / 0.7386 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.7865, allocations: 0.6084 MB / 0.7392 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7865, allocations: 0 / 0.7392 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.7867, allocations: 24.55 kB / 0.7392 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.7867, allocations: 4 kB / 0.7392 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.7867, allocations: 11.95 kB / 0.7392 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.7867, allocations: 8.953 kB / 0.7392 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7867, allocations: 7.938 kB / 0.7392 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.7872, allocations: 383.7 kB / 0.7396 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.7874, allocations: 121.4 kB / 0.7397 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.7874, allocations: 4.516 kB / 0.7397 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.7876, allocations: 16.88 kB / 0.7397 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.7877, allocations: 15.66 kB / 0.7398 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.7877, allocations: 4 kB / 0.7398 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002336/0.788, allocations: 199.9 kB / 0.7399 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.788, allocations: 3.938 kB / 0.7399 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005045/0.7885, allocations: 89.3 kB / 0.74 GB, free: 8.203 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.7898, allocations: 1.463 MB / 0.7415 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005125/0.7903, allocations: 178.9 kB / 0.7416 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7903, allocations: 0 / 0.7416 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.7905, allocations: 66.38 kB / 0.7417 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/0.7913, allocations: 134.5 kB / 0.7418 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.7937, allocations: 1.759 MB / 0.7435 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.7942, allocations: 0.7594 MB / 0.7443 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.7945, allocations: 75.75 kB / 0.7444 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.7946, allocations: 70.05 kB / 0.7444 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.7946, allocations: 0 / 0.7444 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.8134, allocations: 6.577 MB / 0.7508 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.8136, allocations: 235.1 kB / 0.7511 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.675, allocations: 0 / 0.7511 GB, free: 14.3 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: