Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 84.34 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 158.6 MB / 186.1 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3143/0.3143, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 353 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.351e-05, allocations: 5.688 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.4731/0.4732, allocations: 219.7 MB / 0.5594 GB, free: 11.59 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.4833, allocations: 4.643 MB / 0.5639 GB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.4849, allocations: 47.56 kB / 0.564 GB, free: 6.891 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.4876, allocations: 0.9662 MB / 0.5649 GB, free: 5.914 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.4915, allocations: 1.529 MB / 0.5664 GB, free: 4.375 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007001/0.4985, allocations: 2.543 MB / 0.5689 GB, free: 1.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006946/0.5055, allocations: 4.448 MB / 0.5732 GB, free: 13.36 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.508, allocations: 1.164 MB / 0.5744 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004869/0.5129, allocations: 2.233 MB / 0.5765 GB, free: 9.922 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.5156, allocations: 1.324 MB / 0.5778 GB, free: 8.594 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005272/0.5161, allocations: 204 kB / 0.578 GB, free: 8.395 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/0.5201, allocations: 1.55 MB / 0.5795 GB, free: 6.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.5215, allocations: 0.9662 MB / 0.5805 GB, free: 5.871 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.5237, allocations: 0.9824 MB / 0.5814 GB, free: 4.887 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006434/0.5301, allocations: 3.685 MB / 0.585 GB, free: 1.191 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5301, allocations: 0 / 0.585 GB, free: 1.191 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5301, allocations: 0 / 0.585 GB, free: 1.191 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.322e-05/0.5302, allocations: 0 / 0.585 GB, free: 1.191 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.0059/0.5361, allocations: 2.594 MB / 0.5876 GB, free: 14.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5362, allocations: 12.03 kB / 0.5876 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.5387, allocations: 0.6544 MB / 0.5882 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/0.5412, allocations: 1.041 MB / 0.5892 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.5414, allocations: 131.3 kB / 0.5894 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/0.5417, allocations: 199.9 kB / 0.5896 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006379/0.5481, allocations: 3.427 MB / 0.5929 GB, free: 8.707 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.5481, allocations: 0 / 0.5929 GB, free: 8.707 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.5484, allocations: 76 kB / 0.593 GB, free: 8.633 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/0.5484, allocations: 40 kB / 0.593 GB, free: 8.594 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004155/0.5526, allocations: 1.803 MB / 0.5948 GB, free: 6.789 MB / 474.7 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.01168/0.5642, allocations: 4.205 MB / 0.5989 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/0.5691, allocations: 1.378 MB / 0.6002 GB, free: 1.129 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.5705, allocations: 473.8 kB / 0.6007 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.5706, allocations: 35.94 kB / 0.6007 GB, free: 0.625 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.742e-05/0.5706, allocations: 54.56 kB / 0.6008 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of pre-optimization done (n=100): time 3.497e-06/0.5706, allocations: 3.938 kB / 0.6008 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of matching and sorting (n=100): time 0.2156/0.7862, allocations: 3.386 MB / 0.6041 GB, free: 113.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.7863, allocations: 113.1 kB / 0.6042 GB, free: 113.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.7878, allocations: 1.112 MB / 0.6053 GB, free: 113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.788, allocations: 56.73 kB / 0.6053 GB, free: 112.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/0.7884, allocations: 0.8659 MB / 0.6062 GB, free: 112.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.7887, allocations: 360.8 kB / 0.6065 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/0.7891, allocations: 279.5 kB / 0.6068 GB, free: 112.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.7891, allocations: 304.5 kB / 0.6071 GB, free: 112.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.7904, allocations: 0.5692 MB / 0.6076 GB, free: 112.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.7918, allocations: 0.9722 MB / 0.6086 GB, free: 111.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.7943, allocations: 1.501 MB / 0.61 GB, free: 111.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.7944, allocations: 4.125 kB / 0.61 GB, free: 111.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004443/0.7988, allocations: 2.059 MB / 0.6121 GB, free: 111.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.7988, allocations: 11.16 kB / 0.6121 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.7989, allocations: 14.09 kB / 0.6121 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/0.8091, allocations: 1.541 MB / 0.6136 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.8107, allocations: 324.4 kB / 0.6139 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004594/0.8153, allocations: 6.056 MB / 0.6198 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.8171, allocations: 231.2 kB / 0.62 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.8173, allocations: 76.31 kB / 0.6201 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001712/0.819, allocations: 0.8261 MB / 0.6209 GB, free: 105.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001364/0.8204, allocations: 0.9611 MB / 0.6218 GB, free: 105.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002347/0.8227, allocations: 1.459 MB / 0.6233 GB, free: 104.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.438e-05/0.8228, allocations: 10.84 kB / 0.6233 GB, free: 104.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003911/0.8267, allocations: 1.861 MB / 0.6251 GB, free: 104.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.8267, allocations: 11.34 kB / 0.6251 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.8267, allocations: 14.12 kB / 0.6251 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/0.8275, allocations: 195.4 kB / 0.6253 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.8291, allocations: 415.3 kB / 0.6257 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.8334, allocations: 7.64 MB / 0.6332 GB, free: 97.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.835, allocations: 193.2 kB / 0.6333 GB, free: 97.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.8352, allocations: 76.61 kB / 0.6334 GB, free: 97.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(2,18), (2,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0005714/0.8357, allocations: 272 kB / 0.6337 GB, free: 97.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/0.8363, allocations: 183.9 kB / 0.6339 GB, free: 97.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.8402, allocations: 1.583 MB / 0.6354 GB, free: 97.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.8402, allocations: 17.08 kB / 0.6354 GB, free: 97.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8402, allocations: 3.25 kB / 0.6354 GB, free: 97.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.8402, allocations: 7.688 kB / 0.6354 GB, free: 97.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005774/0.846, allocations: 2.946 MB / 0.6383 GB, free: 96.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.846, allocations: 4.969 kB / 0.6383 GB, free: 96.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007426/0.8467, allocations: 192.6 kB / 0.6385 GB, free: 96.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007969/0.8547, allocations: 1.249 MB / 0.6397 GB, free: 96.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.8549, allocations: 35 kB / 0.6397 GB, free: 96.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003647/0.8585, allocations: 6.066 MB / 0.6457 GB, free: 91.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8585, allocations: 6.594 kB / 0.6457 GB, free: 91.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/0.8625, allocations: 1.907 MB / 0.6475 GB, free: 90.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.8629, allocations: 165.2 kB / 0.6477 GB, free: 89.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/0.8631, allocations: 33.42 kB / 0.6477 GB, free: 89.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.8648, allocations: 122.7 kB / 0.6478 GB, free: 89.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.865, allocations: 89 kB / 0.6479 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/0.8652, allocations: 91.52 kB / 0.648 GB, free: 89.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008251/0.866, allocations: 0.719 MB / 0.6487 GB, free: 89.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.866, allocations: 0 / 0.6487 GB, free: 89.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003148/0.8692, allocations: 1.242 MB / 0.6499 GB, free: 89.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(2,20), (2,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.8705, allocations: 0.5594 MB / 0.6505 GB, free: 88.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006129/0.8767, allocations: 2.466 MB / 0.6529 GB, free: 86.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/0.8767, allocations: 5 kB / 0.6529 GB, free: 86.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.8784, allocations: 0.6624 MB / 0.6535 GB, free: 85.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.8817, allocations: 0.6356 MB / 0.6542 GB, free: 85.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.8865, allocations: 2.989 MB / 0.6571 GB, free: 82.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.8873, allocations: 0.8026 MB / 0.6579 GB, free: 81.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001397/0.8887, allocations: 274 kB / 0.6581 GB, free: 81.01 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.8889, allocations: 96.48 kB / 0.6582 GB, free: 80.91 MB / 474.7 MB Notification: Performance of SimCode: time 1.764e-06/0.8889, allocations: 3.328 kB / 0.6582 GB, free: 80.91 MB / 474.7 MB Notification: Performance of Templates: time 0.04591/0.9348, allocations: 37.92 MB / 0.6953 GB, free: 43.13 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.529121449915692]