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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") translateModel(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7573/0.7573, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.459e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 31.97 MB / 236.8 MB, free: 5.395 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier): time 1.437/1.575, allocations: 293.9 MB / 0.5182 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03451/1.61, allocations: 32.97 MB / 0.5504 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/1.61, allocations: 0 / 0.5504 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/1.61, allocations: 91.52 kB / 0.5505 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/1.611, allocations: 111.2 kB / 0.5506 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01547/1.626, allocations: 6.409 MB / 0.5569 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/1.627, allocations: 410 kB / 0.5573 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/1.627, allocations: 147.8 kB / 0.5574 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/1.627, allocations: 147.2 kB / 0.5576 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/1.627, allocations: 127.2 kB / 0.5577 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/1.627, allocations: 12 kB / 0.5577 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02279/1.65, allocations: 14.95 MB / 0.5723 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/1.65, allocations: 51.7 kB / 0.5724 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/1.65, allocations: 180.8 kB / 0.5725 GB, free: 5.707 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/1.663, allocations: 7.54 MB / 0.5799 GB, free: 14.15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.663, allocations: 0 / 0.5799 GB, free: 14.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.322e-06/1.663, allocations: 0 / 0.5799 GB, free: 14.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/1.663, allocations: 0 / 0.5799 GB, free: 14.15 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.003105/1.666, allocations: 1.337 MB / 0.5812 GB, free: 12.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/1.666, allocations: 8.031 kB / 0.5812 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/1.666, allocations: 43.47 kB / 0.5812 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/1.666, allocations: 259.1 kB / 0.5815 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/1.666, allocations: 24.66 kB / 0.5815 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/1.667, allocations: 32 kB / 0.5815 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/1.667, allocations: 398.2 kB / 0.5819 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.667, allocations: 4 kB / 0.5819 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/1.667, allocations: 16 kB / 0.5819 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/1.667, allocations: 8 kB / 0.582 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/1.667, allocations: 230.3 kB / 0.5822 GB, free: 11.69 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.001831/1.669, allocations: 2.433 MB / 0.5845 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/1.67, allocations: 159.2 kB / 0.5847 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/1.67, allocations: 94.67 kB / 0.5848 GB, free: 8.719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07836/1.748, allocations: 44.47 MB / 0.6282 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.748, allocations: 38.55 kB / 0.6283 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/1.748, allocations: 4 kB / 0.6283 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.001537/1.75, allocations: 0.7199 MB / 0.629 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/1.75, allocations: 51.41 kB / 0.629 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/1.75, allocations: 244.9 kB / 0.6292 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.75, allocations: 25.7 kB / 0.6293 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/1.75, allocations: 176.2 kB / 0.6294 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/1.75, allocations: 130 kB / 0.6296 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/1.75, allocations: 41.69 kB / 0.6296 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.75, allocations: 338.8 kB / 0.6299 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/1.75, allocations: 72.3 kB / 0.63 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/1.751, allocations: 146.2 kB / 0.6301 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/1.751, allocations: 240.4 kB / 0.6304 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.751, allocations: 0 / 0.6304 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000559/1.751, allocations: 371.5 kB / 0.6307 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.751, allocations: 11.94 kB / 0.6307 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.751, allocations: 0 / 0.6307 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/1.752, allocations: 262.1 kB / 0.631 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.908e-05/1.752, allocations: 4 kB / 0.631 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/1.754, allocations: 2.589 MB / 0.6335 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/1.754, allocations: 31.53 kB / 0.6335 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/1.754, allocations: 12 kB / 0.6335 GB, free: 0.8438 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.0001327/1.754, allocations: 153.2 kB / 0.6337 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/1.754, allocations: 31.56 kB / 0.6337 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/1.755, allocations: 0.6612 MB / 0.6344 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000584/1.756, allocations: 0.4923 MB / 0.6349 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/1.756, allocations: 0 / 0.6349 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.756, allocations: 7.922 kB / 0.6349 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/1.757, allocations: 1.26 MB / 0.6361 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.757, allocations: 0 / 0.6361 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/1.757, allocations: 47.92 kB / 0.6361 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/1.758, allocations: 271.5 kB / 0.6364 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/1.758, allocations: 15.94 kB / 0.6364 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.76, allocations: 2.617 MB / 0.639 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.76, allocations: 3.938 kB / 0.639 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/1.76, allocations: 0.6178 MB / 0.6396 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.76, allocations: 140.5 kB / 0.6397 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/1.76, allocations: 12 kB / 0.6397 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.761, allocations: 11.94 kB / 0.6397 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/1.761, allocations: 27.97 kB / 0.6398 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/1.761, allocations: 12 kB / 0.6398 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001413/1.761, allocations: 176.4 kB / 0.6399 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.761, allocations: 0 / 0.6399 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002367/1.763, allocations: 1.109 MB / 0.641 GB, free: 8.855 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.00361/1.767, allocations: 1.591 MB / 0.6426 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008571/1.768, allocations: 0.555 MB / 0.6431 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.768, allocations: 0 / 0.6431 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005197/1.768, allocations: 352.1 kB / 0.6434 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/1.769, allocations: 173.8 kB / 0.6436 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/1.77, allocations: 0.9864 MB / 0.6446 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/1.771, allocations: 0.8324 MB / 0.6454 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001203/1.771, allocations: 38.27 kB / 0.6454 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/1.771, allocations: 27.44 kB / 0.6455 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/1.771, allocations: 0 / 0.6455 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of Templates: time 0.04782/1.819, allocations: 41.04 MB / 0.6855 GB, free: 11.21 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestMassFlowMultiplier.pipe 2>&1) Environment - environmentSimulation: