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.001167/0.001173, allocations: 114.3 kB / 17.75 MB, free: 5.297 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.001054/0.001055, allocations: 189.3 kB / 18.67 MB, free: 4.383 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.513/1.513, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.304/0.304, allocations: 48.85 MB / 320.8 MB, free: 11 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.001512/0.001512, allocations: 71.89 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1338, allocations: 59.15 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.5104/0.6443, allocations: 210.9 MB / 0.7043 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005903/0.6502, allocations: 2.995 MB / 0.7072 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009698/0.6512, allocations: 19.88 kB / 0.7073 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.6531, allocations: 0.6328 MB / 0.7079 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.655, allocations: 0.8622 MB / 0.7087 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.6589, allocations: 1.567 MB / 0.7102 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003448/0.6624, allocations: 2.961 MB / 0.7131 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.6636, allocations: 0.9942 MB / 0.7141 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.6654, allocations: 1.153 MB / 0.7152 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.6667, allocations: 0.9769 MB / 0.7162 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.667, allocations: 148 kB / 0.7163 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.6697, allocations: 1.161 MB / 0.7175 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007247/0.6704, allocations: 0.8144 MB / 0.7183 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.6716, allocations: 1.047 MB / 0.7193 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.6753, allocations: 2.867 MB / 0.7221 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6753, allocations: 0 / 0.7221 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6754, allocations: 0 / 0.7221 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.605e-05/0.6754, allocations: 0 / 0.7221 GB, free: 5.035 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.003955/0.6794, allocations: 2.102 MB / 0.7241 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.6794, allocations: 15.89 kB / 0.7241 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.6809, allocations: 322.5 kB / 0.7245 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.6822, allocations: 0.8725 MB / 0.7253 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/0.6823, allocations: 106.7 kB / 0.7254 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.6825, allocations: 139.9 kB / 0.7255 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.6856, allocations: 1.822 MB / 0.7273 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.6856, allocations: 3.938 kB / 0.7273 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.6858, allocations: 64 kB / 0.7274 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.6858, allocations: 32 kB / 0.7274 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.6885, allocations: 1.511 MB / 0.7289 GB, free: 13.93 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.009857/0.6984, allocations: 5.746 MB / 0.7345 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.7015, allocations: 0.9852 MB / 0.7355 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/0.7023, allocations: 330.6 kB / 0.7358 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.7024, allocations: 19.97 kB / 0.7358 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/0.7025, allocations: 58.48 kB / 0.7359 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 3.427e-06/0.7025, allocations: 0 / 0.7359 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.007982/0.7105, allocations: 2.136 MB / 0.7379 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.7105, allocations: 81.11 kB / 0.738 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.7129, allocations: 1.661 MB / 0.7396 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.7131, allocations: 49.7 kB / 0.7397 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.7136, allocations: 0.6147 MB / 0.7403 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.7138, allocations: 212.9 kB / 0.7405 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.7142, allocations: 186.5 kB / 0.7407 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.7144, allocations: 334 kB / 0.741 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.7154, allocations: 468.5 kB / 0.7414 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.7166, allocations: 0.5995 MB / 0.742 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.7185, allocations: 0.9036 MB / 0.7429 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.7185, allocations: 0 / 0.7429 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003282/0.7218, allocations: 1.467 MB / 0.7443 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.7218, allocations: 11.98 kB / 0.7443 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.7218, allocations: 4 kB / 0.7443 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006131/0.728, allocations: 0.9577 MB / 0.7453 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.7291, allocations: 239.5 kB / 0.7455 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.7329, allocations: 3.977 MB / 0.7494 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.7345, allocations: 218.4 kB / 0.7496 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.7346, allocations: 47.97 kB / 0.7496 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001465/0.7361, allocations: 0.7094 MB / 0.7503 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001081/0.7372, allocations: 0.5943 MB / 0.7509 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001849/0.739, allocations: 0.8926 MB / 0.7518 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.255e-06/0.739, allocations: 4 kB / 0.7518 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.003337/0.7424, allocations: 1.332 MB / 0.7531 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7424, allocations: 4 kB / 0.7531 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7424, allocations: 8 kB / 0.7531 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.7429, allocations: 121.7 kB / 0.7532 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.7443, allocations: 283.6 kB / 0.7535 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2603/1.005, allocations: 5.77 MB / 0.7591 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/1.006, allocations: 125.6 kB / 0.7593 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.007, allocations: 48.36 kB / 0.7593 GB, free: 214.8 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.0004044/1.007, allocations: 237.5 kB / 0.7595 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/1.007, allocations: 158.1 kB / 0.7597 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/1.01, allocations: 1.069 MB / 0.7607 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.01, allocations: 6.844 kB / 0.7607 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/1.01, allocations: 1.375 kB / 0.7607 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/1.011, allocations: 278 kB / 0.761 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.011, allocations: 12.41 kB / 0.761 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.012, allocations: 91.52 kB / 0.7611 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.013, allocations: 47.39 kB / 0.7611 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004301/1.017, allocations: 1.43 MB / 0.7625 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002866/1.02, allocations: 1.453 MB / 0.764 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007781/1.021, allocations: 321.2 kB / 0.7643 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001666/1.022, allocations: 1.153 MB / 0.7654 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of Backend: time 1.954e-06/1.022, allocations: 3.312 kB / 0.7654 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006385/1.029, allocations: 2.033 MB / 0.7674 GB, free: 213.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007344/1.036, allocations: 3.671 MB / 0.771 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.07713/1.113, allocations: 49.24 MB / 0.819 GB, free: 178.6 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)