Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001393/0.001393, allocations: 77.7 kB / 21.28 MB, free: 0.5312 MB / 14.72 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.001455/0.001455, allocations: 160.6 kB / 24.55 MB, free: 3.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 177.2 MB / 204.9 MB, free: 9.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.144/0.144, allocations: 19.71 MB / 281 MB, free: 13.07 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00349/0.00349, allocations: 71.83 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2963, allocations: 60.46 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5114/0.8077, allocations: 208.5 MB / 0.6705 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007389/0.8151, allocations: 4.661 MB / 0.675 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.8165, allocations: 45.22 kB / 0.6751 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.8187, allocations: 0.9604 MB / 0.676 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.8217, allocations: 1.468 MB / 0.6775 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005601/0.8273, allocations: 2.56 MB / 0.68 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004357/0.8317, allocations: 4.339 MB / 0.6842 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.8331, allocations: 1.092 MB / 0.6853 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.8366, allocations: 2.296 MB / 0.6875 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.8391, allocations: 1.459 MB / 0.6889 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004199/0.8395, allocations: 202.6 kB / 0.6891 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.843, allocations: 1.527 MB / 0.6906 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008895/0.8439, allocations: 0.9175 MB / 0.6915 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.8455, allocations: 1.128 MB / 0.6926 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004879/0.8503, allocations: 3.527 MB / 0.6961 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8503, allocations: 0 / 0.6961 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8503, allocations: 4 kB / 0.6961 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.921e-05/0.8504, allocations: 0 / 0.6961 GB, free: 0.5234 MB / 0.5294 GB 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.005357/0.8558, allocations: 2.617 MB / 0.6986 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8558, allocations: 6.125 kB / 0.6986 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.8579, allocations: 420 kB / 0.699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.8597, allocations: 1.018 MB / 0.7 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/0.8598, allocations: 133.7 kB / 0.7001 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.86, allocations: 175.3 kB / 0.7003 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004516/0.8645, allocations: 3.42 MB / 0.7037 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.8645, allocations: 3.531 kB / 0.7037 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.8647, allocations: 76.78 kB / 0.7037 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.8648, allocations: 38.81 kB / 0.7038 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.8679, allocations: 1.8 MB / 0.7055 GB, free: 13.2 MB / 0.545 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.008981/0.8769, allocations: 4.174 MB / 0.7096 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.8808, allocations: 1.385 MB / 0.711 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009331/0.8818, allocations: 468.3 kB / 0.7114 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.8818, allocations: 20.36 kB / 0.7114 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/0.8819, allocations: 66.95 kB / 0.7115 GB, free: 12.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 3.837e-06/0.8819, allocations: 0.9688 kB / 0.7115 GB, free: 12.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=100): time 0.01349/0.8954, allocations: 3.361 MB / 0.7148 GB, free: 11.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.8955, allocations: 117.5 kB / 0.7149 GB, free: 11.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.8968, allocations: 1.115 MB / 0.716 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.897, allocations: 58.73 kB / 0.716 GB, free: 10.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005711/0.8975, allocations: 0.8686 MB / 0.7169 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/0.8979, allocations: 357.2 kB / 0.7172 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.8983, allocations: 284.2 kB / 0.7175 GB, free: 9.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8984, allocations: 308.2 kB / 0.7178 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.8996, allocations: 0.5726 MB / 0.7183 GB, free: 9.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.9011, allocations: 0.9746 MB / 0.7193 GB, free: 8.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.9038, allocations: 1.498 MB / 0.7208 GB, free: 7.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.9038, allocations: 2.781 kB / 0.7208 GB, free: 7.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004384/0.9082, allocations: 1.998 MB / 0.7227 GB, free: 7.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.9082, allocations: 8.5 kB / 0.7227 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.9082, allocations: 14.06 kB / 0.7227 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/0.9186, allocations: 1.54 MB / 0.7242 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.92, allocations: 331.6 kB / 0.7245 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.9259, allocations: 6.039 MB / 0.7304 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.9278, allocations: 223.3 kB / 0.7307 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.9279, allocations: 79.97 kB / 0.7307 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001957/0.9299, allocations: 0.824 MB / 0.7315 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001751/0.9316, allocations: 0.9643 MB / 0.7325 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002805/0.9344, allocations: 1.458 MB / 0.7339 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.867e-06/0.9344, allocations: 4 kB / 0.7339 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004257/0.9387, allocations: 1.807 MB / 0.7357 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.9387, allocations: 12 kB / 0.7357 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.9388, allocations: 12 kB / 0.7357 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007048/0.9395, allocations: 184.9 kB / 0.7359 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.9411, allocations: 405.7 kB / 0.7363 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006761/0.9479, allocations: 7.627 MB / 0.7437 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.9496, allocations: 203.1 kB / 0.7439 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.9497, allocations: 80.75 kB / 0.744 GB, free: 2.398 MB / 0.5606 GB 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.0005493/0.9503, allocations: 275 kB / 0.7442 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.9506, allocations: 147.1 kB / 0.7444 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.9548, allocations: 1.585 MB / 0.7459 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.9549, allocations: 11.97 kB / 0.7459 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9549, allocations: 0 / 0.7459 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.9552, allocations: 154.8 kB / 0.7461 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.9553, allocations: 24 kB / 0.7461 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.9568, allocations: 123.8 kB / 0.7462 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.957, allocations: 76.84 kB / 0.7463 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006341/0.9633, allocations: 2.205 MB / 0.7485 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004131/0.9675, allocations: 2.096 MB / 0.7505 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001131/0.9686, allocations: 479.6 kB / 0.751 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001055/0.9696, allocations: 0.7216 MB / 0.7517 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of Backend: time 5.41e-07/0.9696, allocations: 0 / 0.7517 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007631/0.9773, allocations: 2.631 MB / 0.7542 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006095/0.9834, allocations: 3.848 MB / 0.758 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of Templates: time 0.07105/1.054, allocations: 43.39 MB / 0.8004 GB, free: 9.188 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.102767175994813] Failed to read output from testmodel.py, exit status != 0: 1.0661793029867113 1.078601696 0.22496526400000003 Calling exit ...