Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.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.TestVolumes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestVolumes2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7412/0.7412, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.323e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1379, allocations: 31.97 MB / 236.8 MB, free: 5.453 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.TestVolumes2): time 1.432/1.57, allocations: 298.4 MB / 0.5226 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4373/2.007, allocations: 186.9 MB / 0.7052 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008481/2.008, allocations: 10.72 kB / 0.7052 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000804/2.009, allocations: 277.1 kB / 0.7054 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/2.01, allocations: 0.5241 MB / 0.7059 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02378/2.034, allocations: 9.332 MB / 0.7151 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002134/2.036, allocations: 1.988 MB / 0.717 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000698/2.037, allocations: 0.6708 MB / 0.7177 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/2.038, allocations: 0.6586 MB / 0.7183 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/2.038, allocations: 0.6712 MB / 0.719 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.181e-05/2.038, allocations: 53.47 kB / 0.719 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02867/2.067, allocations: 20.2 MB / 0.7387 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004197/2.067, allocations: 237.1 kB / 0.739 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/2.069, allocations: 0.7718 MB / 0.7397 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/2.089, allocations: 11.07 MB / 0.7505 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/2.089, allocations: 0 / 0.7505 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.424e-06/2.089, allocations: 0 / 0.7505 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.691e-05/2.09, allocations: 2.906 kB / 0.7505 GB, free: 14.21 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.006922/2.096, allocations: 2.745 MB / 0.7532 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/2.097, allocations: 8.344 kB / 0.7532 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/2.097, allocations: 187.7 kB / 0.7534 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/2.098, allocations: 0.6663 MB / 0.754 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/2.098, allocations: 88.14 kB / 0.7541 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/2.098, allocations: 120.8 kB / 0.7542 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/2.1, allocations: 1.673 MB / 0.7559 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/2.1, allocations: 6.281 kB / 0.7559 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/2.101, allocations: 48.09 kB / 0.7559 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/2.101, allocations: 67.92 kB / 0.756 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/2.103, allocations: 1.179 MB / 0.7571 GB, free: 11.1 MB / 0.5919 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.07566/2.178, allocations: 42.17 MB / 0.7983 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/2.18, allocations: 0.8937 MB / 0.7992 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/2.181, allocations: 0.6245 MB / 0.7998 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2882/2.469, allocations: 151.8 MB / 0.948 GB, free: 14.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/2.469, allocations: 42.53 kB / 0.9481 GB, free: 14.15 MB / 0.795 GB Notification: Performance of pre-optimization done (n=197): time 2.455e-06/2.469, allocations: 0 / 0.9481 GB, free: 14.15 MB / 0.795 GB Notification: Performance of matching and sorting (n=197): time 0.01686/2.486, allocations: 4.398 MB / 0.9524 GB, free: 10.42 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/2.486, allocations: 115 kB / 0.9525 GB, free: 10.29 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/2.488, allocations: 0.8478 MB / 0.9533 GB, free: 9.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/2.488, allocations: 37.7 kB / 0.9533 GB, free: 9.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/2.488, allocations: 0.5707 MB / 0.9539 GB, free: 8.996 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/2.488, allocations: 0.6349 MB / 0.9545 GB, free: 8.367 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/2.489, allocations: 153.6 kB / 0.9546 GB, free: 8.211 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/2.489, allocations: 306.8 kB / 0.9549 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009863/2.49, allocations: 494.8 kB / 0.9554 GB, free: 7.422 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/2.491, allocations: 0.8194 MB / 0.9562 GB, free: 6.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/2.493, allocations: 1.441 MB / 0.9576 GB, free: 4.957 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/2.493, allocations: 4 kB / 0.9576 GB, free: 4.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.003218/2.496, allocations: 1.938 MB / 0.9595 GB, free: 3.062 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/2.496, allocations: 8 kB / 0.9595 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/2.496, allocations: 8 kB / 0.9595 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007377/2.504, allocations: 2.574 MB / 0.962 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/2.504, allocations: 120.6 kB / 0.9622 GB, free: 372 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/2.507, allocations: 1.859 MB / 0.964 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008846/2.508, allocations: 202.1 kB / 0.9642 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/2.508, allocations: 51.98 kB / 0.9642 GB, free: 14.23 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 30 (volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,volumeC.Ce3.a,volumeC.Cs.b,volumeC.Ce2.a,volumeC.Ce1.a,sinkP1.C.a,lumpedStraightPipe2.C2.b,lumpedStraightPipe2.C1.a,sinkP.C.a,controlValve4.C2.b,controlValve4.C1.a,controlValve3.C2.b,controlValve3.C1.a,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,controlValve.C2.b,controlValve.C1.a,lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP1.C.b,sourceP.C.b,volumeA.Ce1.b,volumeC.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0004519/2.509, allocations: 296.7 kB / 0.9645 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/2.509, allocations: 130.2 kB / 0.9646 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005923/2.515, allocations: 5.722 MB / 0.9702 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003013/2.518, allocations: 2.048 MB / 0.9722 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/2.518, allocations: 4 kB / 0.9722 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/2.518, allocations: 11.95 kB / 0.9722 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006684/2.524, allocations: 4.756 MB / 0.9769 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/2.524, allocations: 0 / 0.9769 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/2.525, allocations: 239.5 kB / 0.9771 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1602/2.685, allocations: 2.007 MB / 0.9791 GB, free: 458.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/2.686, allocations: 33.19 kB / 0.9791 GB, free: 458.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/2.688, allocations: 1.861 MB / 0.9809 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.688, allocations: 0 / 0.9809 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/2.692, allocations: 3.141 MB / 0.984 GB, free: 457.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/2.693, allocations: 411.2 kB / 0.9844 GB, free: 457.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/2.693, allocations: 27.95 kB / 0.9844 GB, free: 457.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/2.694, allocations: 94.59 kB / 0.9845 GB, free: 457.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/2.694, allocations: 111.4 kB / 0.9846 GB, free: 457.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/2.694, allocations: 42.25 kB / 0.9846 GB, free: 457.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007142/2.695, allocations: 0.6951 MB / 0.9853 GB, free: 457.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.81e-07/2.695, allocations: 0 / 0.9853 GB, free: 457.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003801/2.698, allocations: 1.828 MB / 0.9871 GB, free: 457.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volumeC.h,volumeA.h) * 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 (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,38)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005083/2.704, allocations: 2.347 MB / 0.9894 GB, free: 457.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003464/2.707, allocations: 2.226 MB / 0.9916 GB, free: 456.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/2.707, allocations: 0 / 0.9916 GB, free: 456.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002045/2.709, allocations: 1.073 MB / 0.9926 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/2.712, allocations: 0.6654 MB / 0.9933 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/2.716, allocations: 4.072 MB / 0.9972 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/2.717, allocations: 1.398 MB / 0.9986 GB, free: 454.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005274/2.717, allocations: 153.6 kB / 0.9987 GB, free: 454.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/2.717, allocations: 82.53 kB / 0.9988 GB, free: 454.1 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/2.717, allocations: 0 / 0.9988 GB, free: 454.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.07117/2.788, allocations: 70.66 MB / 1.068 GB, free: 401.1 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes2.pipe 2>&1) Environment - environmentSimulation: