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.00125/0.00125, allocations: 112.6 kB / 17.74 MB, free: 5.227 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.001274/0.001274, allocations: 184.5 kB / 18.67 MB, free: 4.309 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.468/1.468, allocations: 205.1 MB / 224.5 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.3129/0.3129, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001429/0.001429, allocations: 71.91 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.13, 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.6133/0.7433, allocations: 210.9 MB / 0.7043 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00718/0.7506, allocations: 3.003 MB / 0.7072 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.752, allocations: 19.88 kB / 0.7072 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.7545, allocations: 0.6329 MB / 0.7079 GB, free: 3.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.7576, allocations: 0.8583 MB / 0.7087 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.7628, allocations: 1.564 MB / 0.7102 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005091/0.7679, allocations: 2.965 MB / 0.7131 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.7702, allocations: 0.998 MB / 0.7141 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.7734, allocations: 1.164 MB / 0.7152 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.7757, allocations: 0.9808 MB / 0.7162 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007894/0.7765, allocations: 148 kB / 0.7163 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.7804, allocations: 1.154 MB / 0.7175 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.7819, allocations: 0.8183 MB / 0.7183 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002676/0.7846, allocations: 1.035 MB / 0.7193 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006214/0.7908, allocations: 2.875 MB / 0.7221 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.7909, allocations: 0 / 0.7221 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.691e-06/0.7909, allocations: 0 / 0.7221 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000114/0.791, allocations: 7.938 kB / 0.7221 GB, free: 5.152 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.006869/0.7979, allocations: 2.099 MB / 0.7241 GB, free: 3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.798, allocations: 11.89 kB / 0.7242 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.8001, allocations: 329.8 kB / 0.7245 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.8022, allocations: 0.8725 MB / 0.7253 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.8023, allocations: 106.6 kB / 0.7254 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.8027, allocations: 132 kB / 0.7255 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004697/0.8074, allocations: 1.814 MB / 0.7273 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.8075, allocations: 15.88 kB / 0.7273 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.8078, allocations: 63.98 kB / 0.7274 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.8079, allocations: 32 kB / 0.7274 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/0.8113, allocations: 1.511 MB / 0.7289 GB, free: 14.05 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.01349/0.8248, allocations: 5.742 MB / 0.7345 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.8284, allocations: 0.9891 MB / 0.7355 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/0.8292, allocations: 327.7 kB / 0.7358 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.8293, allocations: 19.95 kB / 0.7358 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.304e-05/0.8294, allocations: 58.5 kB / 0.7359 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.845e-06/0.8294, allocations: 0 / 0.7359 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.008683/0.8381, allocations: 2.144 MB / 0.738 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.8382, allocations: 85.11 kB / 0.738 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.8413, allocations: 1.65 MB / 0.7396 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.8417, allocations: 45.7 kB / 0.7397 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007569/0.8424, allocations: 0.6186 MB / 0.7403 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.8427, allocations: 212.9 kB / 0.7405 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004875/0.8432, allocations: 186.5 kB / 0.7407 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8434, allocations: 341.9 kB / 0.741 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8446, allocations: 456.5 kB / 0.7414 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.846, allocations: 0.6034 MB / 0.742 GB, free: 52 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.8481, allocations: 0.9036 MB / 0.7429 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.8482, allocations: 4 kB / 0.7429 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003775/0.8519, allocations: 1.471 MB / 0.7443 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.852, allocations: 8 kB / 0.7444 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/0.8521, allocations: 4 kB / 0.7444 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006695/0.8588, allocations: 0.9594 MB / 0.7453 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.8601, allocations: 231.6 kB / 0.7455 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0043/0.8645, allocations: 3.976 MB / 0.7494 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.8664, allocations: 225.7 kB / 0.7496 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.8667, allocations: 52.03 kB / 0.7497 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001708/0.8684, allocations: 0.6939 MB / 0.7503 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00133/0.8697, allocations: 0.6021 MB / 0.7509 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001932/0.8717, allocations: 0.8887 MB / 0.7518 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.227e-06/0.8717, allocations: 4 kB / 0.7518 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.003576/0.8753, allocations: 1.337 MB / 0.7531 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8753, allocations: 8 kB / 0.7531 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.8754, allocations: 7.938 kB / 0.7531 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.8759, allocations: 113.7 kB / 0.7532 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.8773, allocations: 287.6 kB / 0.7535 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2921/1.169, allocations: 5.778 MB / 0.7591 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.171, allocations: 121.6 kB / 0.7593 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/1.172, allocations: 51.52 kB / 0.7593 GB, free: 215.4 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.0005312/1.172, allocations: 232.9 kB / 0.7595 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/1.173, allocations: 161.8 kB / 0.7597 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003108/1.176, allocations: 1.064 MB / 0.7607 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.176, allocations: 7.469 kB / 0.7607 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.176, allocations: 4.875 kB / 0.7607 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.176, allocations: 5.109 kB / 0.7607 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/1.182, allocations: 2.337 MB / 0.763 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.182, allocations: 3.828 kB / 0.763 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/1.182, allocations: 113.1 kB / 0.7631 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005382/1.188, allocations: 0.7728 MB / 0.7639 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.188, allocations: 19.38 kB / 0.7639 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/1.191, allocations: 3.98 MB / 0.7678 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.191, allocations: 2.156 kB / 0.7678 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003367/1.194, allocations: 1.254 MB / 0.769 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/1.195, allocations: 273.4 kB / 0.7693 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/1.195, allocations: 16.89 kB / 0.7693 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.197, allocations: 93.64 kB / 0.7694 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/1.197, allocations: 51.94 kB / 0.7694 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.197, allocations: 60.78 kB / 0.7695 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00192/1.199, allocations: 1.153 MB / 0.7706 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.3e-07/1.199, allocations: 0 / 0.7706 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003214/1.202, allocations: 0.8354 MB / 0.7714 GB, free: 210.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (46): * Single equations (assignments): 40 * 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,13), (1,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/1.204, allocations: 470.1 kB / 0.7719 GB, free: 210 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005229/1.209, allocations: 1.82 MB / 0.7737 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/1.209, allocations: 4.469 kB / 0.7737 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/1.21, allocations: 443.8 kB / 0.7741 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005904/1.216, allocations: 1.003 MB / 0.7751 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/1.221, allocations: 2.369 MB / 0.7774 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.222, allocations: 1.205 MB / 0.7786 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005323/1.223, allocations: 106.4 kB / 0.7787 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/1.223, allocations: 2.031 kB / 0.7787 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.06888/1.292, allocations: 58.66 MB / 0.836 GB, free: 161.1 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)