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.0008708/0.0008707, allocations: 91.62 kB / 16.31 MB, free: 6.008 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.001039/0.001039, allocations: 184.8 kB / 17.21 MB, free: 5.902 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.516/1.516, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5142/0.5142, allocations: 48.78 MB / 320.4 MB, free: 3.824 MB / 254.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.0005163/0.0005164, allocations: 20 kB / 391.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1347, allocations: 60.26 MB / 451.4 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.7822/0.917, allocations: 230.2 MB / 0.6656 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008943/0.926, allocations: 4.72 MB / 0.6702 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.9283, allocations: 32.84 kB / 0.6702 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.931, allocations: 0.7062 MB / 0.6709 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.9356, allocations: 1.371 MB / 0.6723 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006938/0.9425, allocations: 1.838 MB / 0.6741 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009619/0.9522, allocations: 5.07 MB / 0.679 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/0.9554, allocations: 1.027 MB / 0.68 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/0.9607, allocations: 1.423 MB / 0.6814 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005088/0.9658, allocations: 1.474 MB / 0.6828 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005427/0.9664, allocations: 95.81 kB / 0.6829 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0052/0.9716, allocations: 1.351 MB / 0.6843 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.9727, allocations: 0.8227 MB / 0.6851 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.974, allocations: 476.8 kB / 0.6855 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.978, allocations: 2.536 MB / 0.688 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.9781, allocations: 0 / 0.688 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.579e-06/0.9781, allocations: 0 / 0.688 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.369e-05/0.9782, allocations: 2.625 kB / 0.688 GB, free: 19.27 MB / 0.4981 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.004908/0.9831, allocations: 2.229 MB / 0.6902 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.9831, allocations: 9.531 kB / 0.6902 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.9855, allocations: 397.2 kB / 0.6906 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.9874, allocations: 1.006 MB / 0.6915 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/0.9875, allocations: 134 kB / 0.6917 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.9878, allocations: 174.6 kB / 0.6918 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/0.9916, allocations: 2.152 MB / 0.6939 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.9917, allocations: 0 / 0.6939 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.9919, allocations: 80.95 kB / 0.694 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.9919, allocations: 38.31 kB / 0.6941 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00377/0.9957, allocations: 1.903 MB / 0.6959 GB, free: 16.31 MB / 0.4981 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.01144/1.007, allocations: 7.283 MB / 0.703 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/1.011, allocations: 1.735 MB / 0.7047 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/1.012, allocations: 0.5566 MB / 0.7053 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.013, allocations: 28.55 kB / 0.7053 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/1.013, allocations: 55.03 kB / 0.7053 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 2.715e-06/1.013, allocations: 0 / 0.7053 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.01438/1.027, allocations: 4.159 MB / 0.7094 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.027, allocations: 112.4 kB / 0.7095 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/1.03, allocations: 1.84 MB / 0.7113 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/1.031, allocations: 55.39 kB / 0.7114 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006056/1.031, allocations: 0.8081 MB / 0.7122 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00034/1.031, allocations: 348.5 kB / 0.7125 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/1.032, allocations: 32.78 kB / 0.7125 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.032, allocations: 362.6 kB / 0.7129 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/1.033, allocations: 0.591 MB / 0.7134 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/1.034, allocations: 1.006 MB / 0.7144 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.036, allocations: 0.6818 MB / 0.7151 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.036, allocations: 4 kB / 0.7151 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004421/1.04, allocations: 2.136 MB / 0.7172 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/1.041, allocations: 484.1 kB / 0.7176 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.041, allocations: 12 kB / 0.7176 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008088/1.049, allocations: 1.479 MB / 0.7191 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/1.05, allocations: 336.5 kB / 0.7194 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/1.055, allocations: 6.128 MB / 0.7254 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/1.057, allocations: 357.9 kB / 0.7257 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.058, allocations: 78.59 kB / 0.7258 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.058, allocations: 4 kB / 0.7258 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003493/1.061, allocations: 1.734 MB / 0.7275 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.061, allocations: 12 kB / 0.7275 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/1.062, allocations: 183.9 kB / 0.7277 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/1.063, allocations: 437 kB / 0.7281 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006028/1.069, allocations: 7.527 MB / 0.7355 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/1.072, allocations: 307 kB / 0.7358 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/1.072, allocations: 71.48 kB / 0.7358 GB, free: 0.9688 MB / 0.5137 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 (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 18,2 18} Notification: Performance of prepare postOptimizeDAE: time 0.001388/1.074, allocations: 480.1 kB / 0.7363 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007516/1.074, allocations: 205.6 kB / 0.7365 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/1.078, allocations: 1.788 MB / 0.7382 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/1.079, allocations: 12 kB / 0.7382 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.079, allocations: 5.75 kB / 0.7382 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.079, allocations: 11.94 kB / 0.7383 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006643/1.085, allocations: 3.626 MB / 0.7418 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.085, allocations: 5.859 kB / 0.7418 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/1.086, allocations: 204.8 kB / 0.742 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007403/1.093, allocations: 1.378 MB / 0.7433 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.094, allocations: 42.55 kB / 0.7434 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/1.099, allocations: 6.127 MB / 0.7494 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.099, allocations: 4.625 kB / 0.7494 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/1.104, allocations: 2.092 MB / 0.7514 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.105, allocations: 328.1 kB / 0.7517 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/1.105, allocations: 21.31 kB / 0.7517 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.107, allocations: 177.5 kB / 0.7519 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.107, allocations: 94.7 kB / 0.752 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/1.108, allocations: 82.78 kB / 0.7521 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001729/1.109, allocations: 1.244 MB / 0.7533 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.62e-07/1.109, allocations: 0 / 0.7533 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003636/1.113, allocations: 1.125 MB / 0.7544 GB, free: 252 kB / 0.5294 GB 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 (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 20,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.001372/1.114, allocations: 494.9 kB / 0.7549 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006657/1.121, allocations: 2.688 MB / 0.7575 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/1.121, allocations: 8.734 kB / 0.7575 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/1.123, allocations: 0.7466 MB / 0.7582 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/1.129, allocations: 1.098 MB / 0.7593 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/1.135, allocations: 3.569 MB / 0.7628 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009862/1.136, allocations: 1.365 MB / 0.7641 GB, free: 7.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002249/1.138, allocations: 387.4 kB / 0.7645 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/1.138, allocations: 122.7 kB / 0.7646 GB, free: 7.004 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/1.138, allocations: 0 / 0.7646 GB, free: 7.004 MB / 0.545 GB Notification: Performance of Templates: time 0.07895/1.217, allocations: 47.8 MB / 0.8113 GB, free: 7.301 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: