Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestMassFlowMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestMassFlowMultiplier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7277/0.7277, allocations: 150.9 MB / 166 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002747, allocations: 11.98 kB / 204.1 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1304, allocations: 31.34 MB / 235.4 MB, free: 5.418 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.445/1.575, allocations: 293.9 MB / 0.517 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0335/1.609, allocations: 33.48 MB / 0.5497 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/1.609, allocations: 3.938 kB / 0.5497 GB, free: 12.03 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:25:3-27:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:28:3-29:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/MassFlowMultiplier.mo:16:3-18:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Junctions/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003087/1.609, allocations: 101.1 kB / 0.5498 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/1.609, allocations: 99.2 kB / 0.5499 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01414/1.623, allocations: 6.258 MB / 0.556 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/1.624, allocations: 421.9 kB / 0.5564 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/1.624, allocations: 156.9 kB / 0.5565 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/1.624, allocations: 167.2 kB / 0.5567 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/1.624, allocations: 151.2 kB / 0.5568 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/1.624, allocations: 20 kB / 0.5568 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02017/1.645, allocations: 14.88 MB / 0.5714 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/1.645, allocations: 63.7 kB / 0.5714 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/1.645, allocations: 179.1 kB / 0.5716 GB, free: 5.555 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/1.656, allocations: 7.614 MB / 0.579 GB, free: 13.92 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.656, allocations: 0 / 0.579 GB, free: 13.92 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.02e-07/1.656, allocations: 0 / 0.579 GB, free: 13.92 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/1.656, allocations: 0 / 0.579 GB, free: 13.92 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002465/1.659, allocations: 1.401 MB / 0.5804 GB, free: 12.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/1.659, allocations: 8.031 kB / 0.5804 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/1.659, allocations: 78.52 kB / 0.5805 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/1.659, allocations: 51.38 kB / 0.5805 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/1.659, allocations: 253 kB / 0.5808 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/1.659, allocations: 20.66 kB / 0.5808 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/1.659, allocations: 32 kB / 0.5808 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/1.66, allocations: 393.2 kB / 0.5812 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.66, allocations: 3.984 kB / 0.5812 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/1.66, allocations: 19.94 kB / 0.5812 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.66, allocations: 15.94 kB / 0.5812 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/1.66, allocations: 218.5 kB / 0.5815 GB, free: 11.32 MB / 478.1 MB 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.001585/1.662, allocations: 2.436 MB / 0.5838 GB, free: 8.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/1.662, allocations: 163.1 kB / 0.584 GB, free: 8.438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/1.662, allocations: 93.17 kB / 0.5841 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06972/1.732, allocations: 44.14 MB / 0.6272 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.732, allocations: 30.56 kB / 0.6272 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/1.732, allocations: 0 / 0.6272 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.001612/1.734, allocations: 0.7233 MB / 0.6279 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/1.734, allocations: 55.41 kB / 0.628 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/1.734, allocations: 248.9 kB / 0.6282 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/1.734, allocations: 29.7 kB / 0.6282 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.734, allocations: 180.2 kB / 0.6284 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/1.734, allocations: 126 kB / 0.6285 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/1.734, allocations: 61.69 kB / 0.6286 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.734, allocations: 338.8 kB / 0.6289 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/1.734, allocations: 68.41 kB / 0.629 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/1.735, allocations: 139.6 kB / 0.6291 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/1.735, allocations: 240.4 kB / 0.6293 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.735, allocations: 0 / 0.6293 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005709/1.736, allocations: 383.7 kB / 0.6297 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.736, allocations: 11.98 kB / 0.6297 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.736, allocations: 0 / 0.6297 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/1.736, allocations: 252.1 kB / 0.63 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.97e-05/1.736, allocations: 7.938 kB / 0.63 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/1.738, allocations: 2.581 MB / 0.6325 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/1.738, allocations: 39.53 kB / 0.6325 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/1.738, allocations: 12.19 kB / 0.6325 GB, free: 0.7812 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (massFlowMultiplier.Cs.b,massFlowMultiplier.Ce.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sink.C.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001454/1.738, allocations: 141.8 kB / 0.6327 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/1.738, allocations: 31.56 kB / 0.6327 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007759/1.739, allocations: 0.6688 MB / 0.6334 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005845/1.74, allocations: 498 kB / 0.6338 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.74, allocations: 3.938 kB / 0.6338 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.74, allocations: 11.98 kB / 0.6338 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/1.741, allocations: 1.255 MB / 0.6351 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.741, allocations: 4 kB / 0.6351 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/1.741, allocations: 55.92 kB / 0.6351 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/1.742, allocations: 274.8 kB / 0.6354 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.742, allocations: 4 kB / 0.6354 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/1.744, allocations: 2.613 MB / 0.6379 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/1.744, allocations: 0 / 0.6379 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/1.744, allocations: 0.6129 MB / 0.6385 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.745, allocations: 140.5 kB / 0.6387 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/1.745, allocations: 8 kB / 0.6387 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.745, allocations: 11.94 kB / 0.6387 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/1.745, allocations: 27.95 kB / 0.6387 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/1.745, allocations: 12 kB / 0.6387 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001358/1.745, allocations: 172.5 kB / 0.6389 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.745, allocations: 4 kB / 0.6389 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002607/1.748, allocations: 1.112 MB / 0.64 GB, free: 8.812 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004681/1.752, allocations: 2.686 MB / 0.6426 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008595/1.753, allocations: 0.5585 MB / 0.6432 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.753, allocations: 0 / 0.6432 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004956/1.754, allocations: 348.5 kB / 0.6435 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/1.754, allocations: 159.9 kB / 0.6436 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/1.759, allocations: 3.713 MB / 0.6473 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/1.759, allocations: 0.844 MB / 0.6481 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001211/1.759, allocations: 34.27 kB / 0.6481 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/1.759, allocations: 151.4 kB / 0.6483 GB, free: 84 kB / 0.5294 GB Notification: Performance of SimCode: time 2.11e-07/1.759, allocations: 0 / 0.6483 GB, free: 84 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.21/5.97, allocations: 47.71 MB / 0.6949 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/5.97, allocations: 242.2 kB / 0.6951 GB, free: 308 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.96/9.93, allocations: 0 / 0.6951 GB, free: 308 kB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestMassFlowMultiplier_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestMassFlowMultiplier.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe 2>&1)