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.001184/0.001184, allocations: 108.3 kB / 17.74 MB, free: 5.191 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.001136/0.001136, allocations: 192.4 kB / 18.67 MB, free: 4.266 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.398/1.398, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2879/0.2879, allocations: 48.84 MB / 320.7 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.001383/0.001383, allocations: 71.89 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 59.16 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.566/0.682, allocations: 251.7 MB / 0.7442 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009429/0.6915, allocations: 4.817 MB / 0.7489 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.6936, allocations: 31.81 kB / 0.7489 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.6968, allocations: 1.021 MB / 0.7499 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.7011, allocations: 1.418 MB / 0.7513 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007166/0.7083, allocations: 2.471 MB / 0.7537 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006602/0.7149, allocations: 4.384 MB / 0.758 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4374/1.152, allocations: 1.313 MB / 0.7593 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/1.157, allocations: 1.641 MB / 0.7609 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/1.16, allocations: 1.461 MB / 0.7623 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007214/1.161, allocations: 202 kB / 0.7625 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005412/1.167, allocations: 1.688 MB / 0.7641 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/1.168, allocations: 0.9101 MB / 0.765 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002639/1.171, allocations: 1.308 MB / 0.7663 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007167/1.178, allocations: 3.486 MB / 0.7697 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.178, allocations: 1.562 kB / 0.7697 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.575e-06/1.178, allocations: 0 / 0.7697 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.963e-05/1.178, allocations: 1.203 kB / 0.7697 GB, free: 4.152 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.006564/1.185, allocations: 2.624 MB / 0.7723 GB, free: 19.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.185, allocations: 12.23 kB / 0.7723 GB, free: 19.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/1.187, allocations: 396.1 kB / 0.7727 GB, free: 19.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/1.189, allocations: 1.068 MB / 0.7737 GB, free: 18.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.189, allocations: 139 kB / 0.7738 GB, free: 18.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/1.189, allocations: 177.7 kB / 0.774 GB, free: 18.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/1.194, allocations: 2.11 MB / 0.7761 GB, free: 18.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/1.194, allocations: 1.719 kB / 0.7761 GB, free: 18.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/1.194, allocations: 78.06 kB / 0.7761 GB, free: 18.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/1.194, allocations: 42.88 kB / 0.7762 GB, free: 18.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/1.198, allocations: 1.815 MB / 0.778 GB, free: 18.56 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.01181/1.21, allocations: 7.204 MB / 0.785 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/1.214, allocations: 1.448 MB / 0.7864 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/1.215, allocations: 0.5018 MB / 0.7869 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.085e-05/1.215, allocations: 30.05 kB / 0.7869 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/1.215, allocations: 59.55 kB / 0.787 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=100): time 3.556e-06/1.215, allocations: 0 / 0.787 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100): time 0.01305/1.228, allocations: 3.571 MB / 0.7905 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/1.229, allocations: 118.6 kB / 0.7906 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/1.231, allocations: 1.85 MB / 0.7924 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002879/1.231, allocations: 55.83 kB / 0.7924 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/1.232, allocations: 0.817 MB / 0.7932 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/1.232, allocations: 344 kB / 0.7936 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/1.232, allocations: 284.6 kB / 0.7938 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.233, allocations: 302.3 kB / 0.7941 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.234, allocations: 0.5695 MB / 0.7947 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/1.235, allocations: 0.9714 MB / 0.7956 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/1.238, allocations: 1.497 MB / 0.7971 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.238, allocations: 5.219 kB / 0.7971 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004259/1.242, allocations: 2.067 MB / 0.7991 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.242, allocations: 8.469 kB / 0.7991 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/1.242, allocations: 18 kB / 0.7991 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00873/1.251, allocations: 1.538 MB / 0.8006 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.252, allocations: 327.5 kB / 0.801 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005172/1.257, allocations: 6.032 MB / 0.8068 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/1.26, allocations: 293.4 kB / 0.8071 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.26, allocations: 76.39 kB / 0.8072 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001745/1.262, allocations: 0.832 MB / 0.808 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001381/1.263, allocations: 0.9669 MB / 0.809 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002313/1.265, allocations: 1.456 MB / 0.8104 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/1.265, allocations: 9.25 kB / 0.8104 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00375/1.269, allocations: 1.847 MB / 0.8122 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.269, allocations: 14.75 kB / 0.8122 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.269, allocations: 16.06 kB / 0.8122 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/1.27, allocations: 181.1 kB / 0.8124 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.271, allocations: 408.7 kB / 0.8128 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/1.277, allocations: 7.889 MB / 0.8205 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.279, allocations: 195.9 kB / 0.8207 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/1.28, allocations: 72.8 kB / 0.8207 GB, free: 14.59 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.0007176/1.28, allocations: 279.1 kB / 0.821 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007517/1.281, allocations: 205.1 kB / 0.8212 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004282/1.285, allocations: 1.648 MB / 0.8228 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/1.285, allocations: 10.34 kB / 0.8228 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.285, allocations: 3.562 kB / 0.8228 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.285, allocations: 13.05 kB / 0.8228 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007611/1.293, allocations: 3.484 MB / 0.8262 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.293, allocations: 5.812 kB / 0.8262 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/1.294, allocations: 191.5 kB / 0.8264 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00747/1.301, allocations: 1.254 MB / 0.8277 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002622/1.302, allocations: 36.95 kB / 0.8277 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/1.308, allocations: 6.039 MB / 0.8336 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/1.308, allocations: 10.64 kB / 0.8336 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/1.312, allocations: 1.942 MB / 0.8355 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.313, allocations: 318.3 kB / 0.8358 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007849/1.314, allocations: 21.44 kB / 0.8358 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/1.317, allocations: 129.2 kB / 0.8359 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/1.317, allocations: 86.39 kB / 0.836 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003302/1.317, allocations: 83.45 kB / 0.8361 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00224/1.32, allocations: 1.257 MB / 0.8373 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.32, allocations: 0.9844 kB / 0.8373 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004903/1.324, allocations: 1.116 MB / 0.8384 GB, free: 7.102 MB / 0.6231 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 (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,20), (2,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/1.327, allocations: 0.5316 MB / 0.8389 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006963/1.334, allocations: 2.577 MB / 0.8415 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/1.334, allocations: 5 kB / 0.8415 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/1.336, allocations: 0.7085 MB / 0.8422 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007433/1.343, allocations: 1.112 MB / 0.8432 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006894/1.35, allocations: 3.14 MB / 0.8463 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/1.351, allocations: 1.375 MB / 0.8476 GB, free: 360 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/1.352, allocations: 126.8 kB / 0.8478 GB, free: 236 kB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/1.352, allocations: 0 / 0.8478 GB, free: 236 kB / 0.6231 GB Notification: Performance of Templates: time 0.1076/1.46, allocations: 95.66 MB / 0.9412 GB, free: 0.7578 MB / 0.7169 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)