Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.00129, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001231/0.001232, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.527/1.527, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3212/0.3212, allocations: 48.85 MB / 320.8 MB, free: 11.01 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.00172/0.00172, allocations: 67.91 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1247, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.5477/0.6724, allocations: 210.8 MB / 0.7043 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005831/0.6783, allocations: 3.007 MB / 0.7072 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009555/0.6793, allocations: 19.88 kB / 0.7073 GB, free: 4.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.6811, allocations: 0.6485 MB / 0.7079 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.683, allocations: 0.8818 MB / 0.7088 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.6873, allocations: 1.575 MB / 0.7103 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004065/0.6913, allocations: 2.973 MB / 0.7132 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/0.6933, allocations: 0.9914 MB / 0.7142 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.6959, allocations: 1.162 MB / 0.7153 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.6978, allocations: 0.9847 MB / 0.7163 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006352/0.6985, allocations: 148 kB / 0.7164 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/0.7023, allocations: 1.15 MB / 0.7175 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.7036, allocations: 0.8183 MB / 0.7183 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002777/0.7064, allocations: 1.039 MB / 0.7193 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.7114, allocations: 2.885 MB / 0.7222 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7115, allocations: 0 / 0.7222 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7115, allocations: 0 / 0.7222 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.929e-05/0.7115, allocations: 0 / 0.7222 GB, free: 4.922 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004056/0.7156, allocations: 2.15 MB / 0.7243 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.7156, allocations: 15.88 kB / 0.7243 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.7171, allocations: 335.4 kB / 0.7246 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7184, allocations: 0.8732 MB / 0.7254 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.7185, allocations: 102.7 kB / 0.7255 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.7187, allocations: 132 kB / 0.7257 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.7219, allocations: 1.829 MB / 0.7274 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.7219, allocations: 3.938 kB / 0.7275 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.7221, allocations: 64 kB / 0.7275 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.7221, allocations: 32 kB / 0.7275 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.7249, allocations: 1.517 MB / 0.729 GB, free: 13.75 MB / 0.5762 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.01012/0.735, allocations: 5.766 MB / 0.7347 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.7381, allocations: 0.9852 MB / 0.7356 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/0.7389, allocations: 323.3 kB / 0.7359 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.567e-05/0.7389, allocations: 23.95 kB / 0.736 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.739, allocations: 54.5 kB / 0.736 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 5.43e-06/0.739, allocations: 3.984 kB / 0.736 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.00772/0.7467, allocations: 2.153 MB / 0.7381 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.7468, allocations: 85.11 kB / 0.7382 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/0.7492, allocations: 1.65 MB / 0.7398 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.7494, allocations: 49.7 kB / 0.7398 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.7499, allocations: 0.6272 MB / 0.7405 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.7502, allocations: 222.1 kB / 0.7407 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.7505, allocations: 190.5 kB / 0.7409 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7507, allocations: 337.9 kB / 0.7412 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.7518, allocations: 460.5 kB / 0.7416 GB, free: 368 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.753, allocations: 0.5996 MB / 0.7422 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.755, allocations: 0.9075 MB / 0.7431 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.755, allocations: 4 kB / 0.7431 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003546/0.7585, allocations: 1.471 MB / 0.7445 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.7586, allocations: 8 kB / 0.7445 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.7586, allocations: 4 kB / 0.7445 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00659/0.7652, allocations: 0.9499 MB / 0.7455 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.7665, allocations: 247.6 kB / 0.7457 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.7702, allocations: 3.976 MB / 0.7496 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.7718, allocations: 222.6 kB / 0.7498 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.772, allocations: 51.97 kB / 0.7498 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001513/0.7735, allocations: 0.6976 MB / 0.7505 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001169/0.7747, allocations: 0.5952 MB / 0.7511 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001855/0.7765, allocations: 0.8956 MB / 0.752 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.158e-06/0.7766, allocations: 0 / 0.752 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.003262/0.7798, allocations: 1.346 MB / 0.7533 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7799, allocations: 8.375 kB / 0.7533 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7799, allocations: 8 kB / 0.7533 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004891/0.7804, allocations: 117.5 kB / 0.7534 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.7818, allocations: 291.6 kB / 0.7537 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2424/1.024, allocations: 5.773 MB / 0.7593 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.026, allocations: 123.5 kB / 0.7595 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.026, allocations: 48.81 kB / 0.7595 GB, free: 214.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {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 {(1,12), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004415/1.026, allocations: 237.1 kB / 0.7597 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/1.027, allocations: 165 kB / 0.7599 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/1.03, allocations: 1.062 MB / 0.7609 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.03, allocations: 4.219 kB / 0.7609 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/1.03, allocations: 4.844 kB / 0.7609 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/1.03, allocations: 277.6 kB / 0.7612 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/1.03, allocations: 14.78 kB / 0.7612 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.032, allocations: 93.08 kB / 0.7613 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/1.032, allocations: 45.23 kB / 0.7613 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00413/1.036, allocations: 1.441 MB / 0.7628 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002731/1.039, allocations: 1.457 MB / 0.7642 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007875/1.039, allocations: 324.8 kB / 0.7645 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001786/1.041, allocations: 1.151 MB / 0.7656 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of Backend: time 1.032e-06/1.041, allocations: 0 / 0.7656 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006217/1.047, allocations: 2.041 MB / 0.7676 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006786/1.054, allocations: 3.723 MB / 0.7712 GB, free: 211 MB / 0.5919 GB Notification: Performance of Templates: time 0.07405/1.128, allocations: 49.49 MB / 0.8196 GB, free: 177.7 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe 2>&1)