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.0008727/0.0008727, allocations: 91.08 kB / 16.65 MB, free: 6.602 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.001127/0.001127, allocations: 173.3 kB / 17.56 MB, free: 6.203 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.357/1.357, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2885/0.2885, allocations: 48.78 MB / 320.8 MB, free: 11.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.000523/0.000523, allocations: 12.88 kB / 391.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.102, allocations: 60.27 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.4429/0.545, allocations: 247.5 MB / 0.6831 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0093/0.5543, allocations: 4.913 MB / 0.6879 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.556, allocations: 35.75 kB / 0.688 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.5585, allocations: 0.8938 MB / 0.6888 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.5622, allocations: 1.348 MB / 0.6902 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006365/0.5686, allocations: 2.277 MB / 0.6924 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007326/0.5759, allocations: 6.021 MB / 0.6983 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.5777, allocations: 1.113 MB / 0.6994 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.5808, allocations: 1.405 MB / 0.7007 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.583, allocations: 1.49 MB / 0.7022 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.5833, allocations: 100 kB / 0.7023 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004404/0.5877, allocations: 2.249 MB / 0.7045 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009406/0.5887, allocations: 0.8062 MB / 0.7053 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.5904, allocations: 1.203 MB / 0.7064 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.5951, allocations: 3.512 MB / 0.7099 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5951, allocations: 3.938 kB / 0.7099 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5951, allocations: 0 / 0.7099 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.303e-05/0.5952, allocations: 0 / 0.7099 GB, free: 6.898 MB / 0.5137 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.004545/0.5997, allocations: 2.209 MB / 0.712 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5998, allocations: 8.031 kB / 0.712 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.6017, allocations: 397.1 kB / 0.7124 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.6033, allocations: 1.033 MB / 0.7134 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.6034, allocations: 139.3 kB / 0.7136 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.6036, allocations: 172 kB / 0.7137 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/0.6075, allocations: 2.165 MB / 0.7158 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.6076, allocations: 4 kB / 0.7158 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.6078, allocations: 79.94 kB / 0.7159 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/0.6078, allocations: 48 kB / 0.716 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.6116, allocations: 1.917 MB / 0.7178 GB, free: 14.6 MB / 0.5294 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.01093/0.6225, allocations: 7.306 MB / 0.725 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00495/0.6275, allocations: 1.724 MB / 0.7267 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.6289, allocations: 0.5615 MB / 0.7272 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.629, allocations: 27.95 kB / 0.7272 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.236e-05/0.6291, allocations: 62.52 kB / 0.7273 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=100): time 3.136e-06/0.6291, allocations: 0 / 0.7273 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=100): time 0.0158/0.6449, allocations: 4.177 MB / 0.7314 GB, free: 100 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1875/0.8324, allocations: 111.7 kB / 0.7315 GB, free: 211.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.835, allocations: 1.849 MB / 0.7333 GB, free: 210.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/0.8354, allocations: 57.55 kB / 0.7333 GB, free: 210.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005821/0.8359, allocations: 0.8128 MB / 0.7341 GB, free: 210.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.8362, allocations: 349.4 kB / 0.7345 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.8364, allocations: 123.9 kB / 0.7346 GB, free: 210.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.8365, allocations: 308.4 kB / 0.7349 GB, free: 210.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.8379, allocations: 0.6127 MB / 0.7355 GB, free: 210.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.8396, allocations: 1.029 MB / 0.7365 GB, free: 209.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.8423, allocations: 1.604 MB / 0.738 GB, free: 209.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.8423, allocations: 3.5 kB / 0.738 GB, free: 209.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004828/0.8472, allocations: 2.194 MB / 0.7402 GB, free: 208.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.8474, allocations: 473.7 kB / 0.7406 GB, free: 207.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.8475, allocations: 13.72 kB / 0.7407 GB, free: 207.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.8583, allocations: 1.608 MB / 0.7422 GB, free: 207.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.8598, allocations: 343.3 kB / 0.7426 GB, free: 207.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/0.8643, allocations: 6.126 MB / 0.7485 GB, free: 202.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.8666, allocations: 360.5 kB / 0.7489 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.8667, allocations: 78.2 kB / 0.749 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.8667, allocations: 3.781 kB / 0.749 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003925/0.8707, allocations: 1.749 MB / 0.7507 GB, free: 201.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.8707, allocations: 13.09 kB / 0.7507 GB, free: 201.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/0.8714, allocations: 179.9 kB / 0.7508 GB, free: 201.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.873, allocations: 431.6 kB / 0.7513 GB, free: 201.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004589/0.8776, allocations: 7.532 MB / 0.7586 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.8798, allocations: 302 kB / 0.7589 GB, free: 194.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.8799, allocations: 76.84 kB / 0.759 GB, free: 194.2 MB / 0.5294 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.0009867/0.8809, allocations: 495.4 kB / 0.7594 GB, free: 193.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.8813, allocations: 204.5 kB / 0.7596 GB, free: 193.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.8856, allocations: 1.793 MB / 0.7614 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.8857, allocations: 12.12 kB / 0.7614 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8857, allocations: 3.266 kB / 0.7614 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.8857, allocations: 4.547 kB / 0.7614 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007046/0.8928, allocations: 3.648 MB / 0.765 GB, free: 191.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.8928, allocations: 4.375 kB / 0.765 GB, free: 191.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.8935, allocations: 202.1 kB / 0.7652 GB, free: 191.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008698/0.9022, allocations: 1.384 MB / 0.7665 GB, free: 190.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/0.9023, allocations: 33.75 kB / 0.7666 GB, free: 190.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/0.9059, allocations: 6.134 MB / 0.7725 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.906, allocations: 3.906 kB / 0.7725 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.9101, allocations: 2.103 MB / 0.7746 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.9106, allocations: 324.5 kB / 0.7749 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.9109, allocations: 26 kB / 0.7749 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.9127, allocations: 177.5 kB / 0.7751 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.9129, allocations: 94.12 kB / 0.7752 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.913, allocations: 83.62 kB / 0.7753 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001357/0.9144, allocations: 1.257 MB / 0.7765 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.81e-07/0.9144, allocations: 1.859 kB / 0.7765 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002851/0.9172, allocations: 1.136 MB / 0.7776 GB, free: 181.6 MB / 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 (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.001227/0.9185, allocations: 0.5441 MB / 0.7781 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006076/0.9246, allocations: 2.719 MB / 0.7808 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.9246, allocations: 5 kB / 0.7808 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.9264, allocations: 0.7493 MB / 0.7815 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006823/0.9332, allocations: 1.082 MB / 0.7826 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.9376, allocations: 3.786 MB / 0.7863 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.9383, allocations: 1.364 MB / 0.7876 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001662/0.94, allocations: 382.8 kB / 0.788 GB, free: 171 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.9402, allocations: 123.4 kB / 0.7881 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.9402, allocations: 3.938 kB / 0.7881 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.05883/0.999, allocations: 49.24 MB / 0.8362 GB, free: 121.6 MB / 0.5294 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: