Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 107 kB / 17.06 MB, free: 6.023 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.001247/0.001247, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2855/0.2855, allocations: 48.84 MB / 320.1 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 71.89 kB / 450.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 59.16 MB / 0.4978 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.2796/0.3981, allocations: 44.07 MB / 0.5408 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01696/0.4151, allocations: 15.48 MB / 0.5559 GB, free: 72 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.4155, allocations: 8.969 kB / 0.5559 GB, free: 68 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.4162, allocations: 197.2 kB / 0.5561 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.4168, allocations: 251.2 kB / 0.5563 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02431/0.4411, allocations: 6.604 MB / 0.5628 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.4431, allocations: 0.6665 MB / 0.5634 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005643/0.4437, allocations: 243.2 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.4441, allocations: 246.5 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.4445, allocations: 261.9 kB / 0.5642 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.4445, allocations: 32.78 kB / 0.5642 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02184/0.4664, allocations: 8.987 MB / 0.573 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.4666, allocations: 75.42 kB / 0.573 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.4671, allocations: 208 kB / 0.5732 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.4804, allocations: 5.244 MB / 0.5784 GB, free: 4.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4805, allocations: 0 / 0.5784 GB, free: 4.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4805, allocations: 4 kB / 0.5784 GB, free: 4.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.4805, allocations: 3.938 kB / 0.5784 GB, free: 4.434 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003815/0.4843, allocations: 1.281 MB / 0.5796 GB, free: 3.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.4844, allocations: 11.58 kB / 0.5796 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.4846, allocations: 72.16 kB / 0.5797 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.4851, allocations: 330.7 kB / 0.58 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.4851, allocations: 28.09 kB / 0.58 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.4852, allocations: 27.34 kB / 0.5801 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.486, allocations: 392.5 kB / 0.5804 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.486, allocations: 3.906 kB / 0.5804 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.486, allocations: 12.06 kB / 0.5805 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.486, allocations: 6.5 kB / 0.5805 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.4867, allocations: 254.6 kB / 0.5807 GB, free: 2.75 MB / 430.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.001648/0.4883, allocations: 1.62 MB / 0.5823 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.489, allocations: 212.3 kB / 0.5825 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.4891, allocations: 69.69 kB / 0.5826 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1329/0.6221, allocations: 64.26 MB / 0.6453 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.6222, allocations: 42.56 kB / 0.6453 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.6222, allocations: 0 / 0.6453 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17): time 0.001587/0.6238, allocations: 462.8 kB / 0.6458 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.6239, allocations: 59.34 kB / 0.6458 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.6244, allocations: 357.6 kB / 0.6462 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.6244, allocations: 33.7 kB / 0.6462 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.6246, allocations: 204 kB / 0.6464 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.6247, allocations: 63.11 kB / 0.6465 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.6249, allocations: 49.61 kB / 0.6465 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.625, allocations: 346.8 kB / 0.6468 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.6252, allocations: 60.83 kB / 0.6469 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.6254, allocations: 118 kB / 0.647 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.6257, allocations: 177.6 kB / 0.6472 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6257, allocations: 0 / 0.6472 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006403/0.6264, allocations: 302.7 kB / 0.6475 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6264, allocations: 11.97 kB / 0.6475 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6264, allocations: 4 kB / 0.6475 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/0.6269, allocations: 73.66 kB / 0.6476 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.6271, allocations: 47.91 kB / 0.6476 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.6291, allocations: 2 MB / 0.6496 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.6294, allocations: 23.72 kB / 0.6496 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.6294, allocations: 12.88 kB / 0.6496 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002421/0.6297, allocations: 168 kB / 0.6498 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001417/0.6298, allocations: 113.9 kB / 0.6499 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002751/0.6301, allocations: 169.9 kB / 0.65 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.748e-06/0.6301, allocations: 4 kB / 0.65 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005983/0.6307, allocations: 298.7 kB / 0.6503 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.6307, allocations: 4 kB / 0.6503 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.6307, allocations: 0 / 0.6503 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.6311, allocations: 87.33 kB / 0.6504 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.6312, allocations: 47.92 kB / 0.6505 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.6326, allocations: 1.994 MB / 0.6524 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.6328, allocations: 19.83 kB / 0.6524 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.6329, allocations: 8 kB / 0.6524 GB, free: 3.352 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.633, allocations: 196.4 kB / 0.6526 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.6331, allocations: 35.14 kB / 0.6526 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.6342, allocations: 0.8262 MB / 0.6535 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.6342, allocations: 11.98 kB / 0.6535 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6343, allocations: 0 / 0.6535 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6343, allocations: 3.984 kB / 0.6535 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.6349, allocations: 0.5489 MB / 0.654 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6349, allocations: 4 kB / 0.654 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.6351, allocations: 47.91 kB / 0.6541 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.038e-05/0.6352, allocations: 24.8 kB / 0.6541 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.6352, allocations: 7.922 kB / 0.6541 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008585/0.6361, allocations: 1.375 MB / 0.6554 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6361, allocations: 3.984 kB / 0.6554 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009172/0.6371, allocations: 0.799 MB / 0.6562 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.6372, allocations: 136.4 kB / 0.6563 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.6373, allocations: 7.938 kB / 0.6563 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.6374, allocations: 4 kB / 0.6564 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.6375, allocations: 15.92 kB / 0.6564 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.6375, allocations: 11.98 kB / 0.6564 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002742/0.6378, allocations: 259.2 kB / 0.6566 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6378, allocations: 0 / 0.6566 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005637/0.6435, allocations: 1.339 MB / 0.6579 GB, free: 13.46 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008533/0.652, allocations: 1.412 MB / 0.6593 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.6534, allocations: 0.6063 MB / 0.6599 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6535, allocations: 4 kB / 0.6599 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.654, allocations: 303.8 kB / 0.6602 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.6553, allocations: 175.2 kB / 0.6604 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6576, allocations: 1.145 MB / 0.6615 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.658, allocations: 0.8363 MB / 0.6623 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003536/0.6584, allocations: 143 kB / 0.6624 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.6585, allocations: 31.44 kB / 0.6625 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.6585, allocations: 0 / 0.6625 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.09736/0.7559, allocations: 50.52 MB / 0.7118 GB, free: 6.125 MB / 0.5606 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)