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.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.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, 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.001346/0.001346, 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.529/1.529, 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.3144/0.3144, allocations: 48.84 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.00148/0.00148, allocations: 75.89 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1363, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5664/0.7027, allocations: 251.7 MB / 0.7442 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.7133, allocations: 4.805 MB / 0.7489 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.7167, allocations: 31.81 kB / 0.7489 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003472/0.7202, allocations: 1.048 MB / 0.7499 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.7243, allocations: 1.449 MB / 0.7514 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006869/0.7312, allocations: 2.489 MB / 0.7538 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005882/0.7371, allocations: 4.384 MB / 0.7581 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4083/1.145, allocations: 1.325 MB / 0.7594 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005197/1.151, allocations: 1.638 MB / 0.761 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004125/1.155, allocations: 1.462 MB / 0.7624 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009721/1.156, allocations: 202.5 kB / 0.7626 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006154/1.162, allocations: 1.681 MB / 0.7642 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001916/1.164, allocations: 0.9129 MB / 0.7651 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003243/1.167, allocations: 1.31 MB / 0.7664 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008061/1.175, allocations: 3.498 MB / 0.7698 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.175, allocations: 1.469 kB / 0.7698 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/1.175, allocations: 1.094 kB / 0.7698 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001758/1.176, allocations: 2.688 kB / 0.7698 GB, free: 4.047 MB / 0.5919 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.009279/1.185, allocations: 2.684 MB / 0.7724 GB, free: 18.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/1.185, allocations: 14.17 kB / 0.7724 GB, free: 18.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/1.188, allocations: 401.5 kB / 0.7728 GB, free: 18.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/1.191, allocations: 1.078 MB / 0.7739 GB, free: 18.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/1.191, allocations: 139.3 kB / 0.774 GB, free: 18.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005171/1.192, allocations: 171.4 kB / 0.7742 GB, free: 18.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004926/1.197, allocations: 2.109 MB / 0.7762 GB, free: 18.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/1.197, allocations: 1.125 kB / 0.7762 GB, free: 18.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/1.197, allocations: 79.12 kB / 0.7763 GB, free: 18.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.199e-05/1.197, allocations: 43.5 kB / 0.7764 GB, free: 18.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003871/1.201, allocations: 1.813 MB / 0.7781 GB, free: 18.21 MB / 0.6075 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.01276/1.214, allocations: 7.23 MB / 0.7852 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/1.218, allocations: 1.458 MB / 0.7866 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/1.219, allocations: 0.4997 MB / 0.7871 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/1.22, allocations: 27.09 kB / 0.7871 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.5e-05/1.22, allocations: 57.67 kB / 0.7872 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=100): time 4.078e-06/1.22, allocations: 4.031 kB / 0.7872 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100): time 0.01424/1.234, allocations: 3.576 MB / 0.7907 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.234, allocations: 122.4 kB / 0.7908 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/1.237, allocations: 1.851 MB / 0.7926 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003021/1.237, allocations: 55.89 kB / 0.7927 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006322/1.238, allocations: 0.8281 MB / 0.7935 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/1.238, allocations: 362.8 kB / 0.7938 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/1.238, allocations: 281.8 kB / 0.7941 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.238, allocations: 307.7 kB / 0.7944 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.24, allocations: 0.5714 MB / 0.7949 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/1.241, allocations: 0.9705 MB / 0.7959 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/1.244, allocations: 1.494 MB / 0.7973 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.244, allocations: 4.969 kB / 0.7973 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005147/1.249, allocations: 2.074 MB / 0.7994 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/1.249, allocations: 12.53 kB / 0.7994 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/1.249, allocations: 12.09 kB / 0.7994 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009986/1.259, allocations: 1.551 MB / 0.8009 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.26, allocations: 320.7 kB / 0.8012 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005408/1.266, allocations: 6.04 MB / 0.8071 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.268, allocations: 295.5 kB / 0.8074 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/1.269, allocations: 78.39 kB / 0.8075 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001733/1.27, allocations: 0.8337 MB / 0.8083 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001582/1.272, allocations: 0.9665 MB / 0.8092 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00266/1.275, allocations: 1.454 MB / 0.8106 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.04e-05/1.275, allocations: 2.938 kB / 0.8106 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004282/1.279, allocations: 1.859 MB / 0.8125 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.279, allocations: 14.03 kB / 0.8125 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/1.279, allocations: 13.59 kB / 0.8125 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/1.28, allocations: 188 kB / 0.8127 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.281, allocations: 403.9 kB / 0.813 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/1.288, allocations: 7.904 MB / 0.8208 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/1.291, allocations: 204.2 kB / 0.821 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/1.291, allocations: 70.97 kB / 0.821 GB, free: 14.14 MB / 0.6231 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.0008982/1.292, allocations: 279.2 kB / 0.8213 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.293, allocations: 214.7 kB / 0.8215 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/1.298, allocations: 1.644 MB / 0.8231 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/1.298, allocations: 7.281 kB / 0.8231 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.298, allocations: 2.625 kB / 0.8231 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.299, allocations: 314.5 kB / 0.8234 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007153/1.3, allocations: 28 kB / 0.8234 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002256/1.302, allocations: 118.2 kB / 0.8236 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/1.302, allocations: 80.39 kB / 0.8236 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006322/1.308, allocations: 2.209 MB / 0.8258 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004558/1.313, allocations: 2.152 MB / 0.8279 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001119/1.314, allocations: 494.5 kB / 0.8284 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002249/1.316, allocations: 1.255 MB / 0.8296 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of Backend: time 7.61e-07/1.316, allocations: 0 / 0.8296 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009786/1.326, allocations: 2.736 MB / 0.8323 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of SimCode: time 0.009195/1.335, allocations: 4.514 MB / 0.8367 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of Templates: time 0.09314/1.429, allocations: 56.38 MB / 0.8917 GB, free: 2.418 MB / 0.67 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile (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)