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.001448/0.001448, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001669/0.001669, allocations: 183 kB / 18.62 MB, free: 4.5 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.339/1.339, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2694/0.2694, allocations: 48.83 MB / 320.7 MB, free: 11.03 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.001445/0.001445, allocations: 76 kB / 391.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09396, allocations: 59.16 MB / 450.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.4513/0.5453, allocations: 251.7 MB / 0.6859 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009048/0.5544, allocations: 4.811 MB / 0.6906 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.5558, allocations: 35.75 kB / 0.6906 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.5584, allocations: 1.033 MB / 0.6916 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.561, allocations: 1.41 MB / 0.693 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005692/0.5667, allocations: 2.476 MB / 0.6954 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004705/0.5714, allocations: 4.375 MB / 0.6997 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.5731, allocations: 1.334 MB / 0.701 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.5753, allocations: 1.616 MB / 0.7026 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.577, allocations: 1.463 MB / 0.704 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003031/0.5773, allocations: 204 kB / 0.7042 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.5806, allocations: 1.692 MB / 0.7059 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007693/0.5814, allocations: 0.9117 MB / 0.7068 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.5827, allocations: 1.303 MB / 0.708 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.5865, allocations: 3.49 MB / 0.7114 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5865, allocations: 4 kB / 0.7114 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5865, allocations: 0 / 0.7114 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.5865, allocations: 0 / 0.7114 GB, free: 14.82 MB / 0.5294 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.004648/0.5912, allocations: 2.622 MB / 0.714 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5912, allocations: 11.89 kB / 0.714 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.5931, allocations: 389.2 kB / 0.7144 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.5949, allocations: 1.072 MB / 0.7154 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.563e-05/0.5951, allocations: 135.3 kB / 0.7156 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.5953, allocations: 180 kB / 0.7157 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.5989, allocations: 2.114 MB / 0.7178 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.599, allocations: 0 / 0.7178 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.5992, allocations: 79.94 kB / 0.7179 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.5992, allocations: 40 kB / 0.7179 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.6026, allocations: 1.807 MB / 0.7197 GB, free: 6.242 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.01084/0.6135, allocations: 7.209 MB / 0.7267 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/0.6176, allocations: 1.438 MB / 0.7281 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.6187, allocations: 0.503 MB / 0.7286 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.095e-05/0.6188, allocations: 31.95 kB / 0.7286 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/0.6188, allocations: 62.45 kB / 0.7287 GB, free: 12.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 3.086e-06/0.6189, allocations: 4 kB / 0.7287 GB, free: 12.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=100): time 0.01337/0.6322, allocations: 3.564 MB / 0.7322 GB, free: 8.785 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.6323, allocations: 122.8 kB / 0.7323 GB, free: 8.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.6347, allocations: 1.847 MB / 0.7341 GB, free: 6.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.6349, allocations: 57.7 kB / 0.7342 GB, free: 6.684 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000628/0.6356, allocations: 0.8148 MB / 0.735 GB, free: 5.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.6359, allocations: 347 kB / 0.7353 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004354/0.6363, allocations: 283.4 kB / 0.7356 GB, free: 5.234 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.6364, allocations: 305.1 kB / 0.7358 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.6377, allocations: 0.5629 MB / 0.7364 GB, free: 4.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.6393, allocations: 0.9808 MB / 0.7374 GB, free: 3.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.642, allocations: 1.492 MB / 0.7388 GB, free: 1.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.642, allocations: 5.625 kB / 0.7388 GB, free: 1.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.2076/0.8496, allocations: 2.055 MB / 0.7408 GB, free: 130.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.8496, allocations: 11.5 kB / 0.7408 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.8497, allocations: 14.47 kB / 0.7408 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/0.8599, allocations: 1.541 MB / 0.7424 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.8614, allocations: 323.9 kB / 0.7427 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.8656, allocations: 6.041 MB / 0.7486 GB, free: 125.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.8676, allocations: 288.7 kB / 0.7488 GB, free: 125.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.8678, allocations: 80.42 kB / 0.7489 GB, free: 125.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001841/0.8697, allocations: 0.8241 MB / 0.7497 GB, free: 125.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001453/0.8711, allocations: 0.9627 MB / 0.7507 GB, free: 125.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002415/0.8736, allocations: 1.457 MB / 0.7521 GB, free: 124.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.608e-05/0.8736, allocations: 3.281 kB / 0.7521 GB, free: 124.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004099/0.8777, allocations: 1.849 MB / 0.7539 GB, free: 124.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.8778, allocations: 11.75 kB / 0.7539 GB, free: 124.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/0.8778, allocations: 15.23 kB / 0.7539 GB, free: 124.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/0.8785, allocations: 183.6 kB / 0.7541 GB, free: 124.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.8801, allocations: 408.5 kB / 0.7545 GB, free: 124.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004374/0.8845, allocations: 7.903 MB / 0.7622 GB, free: 117.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.8864, allocations: 191.2 kB / 0.7624 GB, free: 117.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.8865, allocations: 77.78 kB / 0.7625 GB, free: 117.5 MB / 0.545 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.0004657/0.887, allocations: 272.2 kB / 0.7627 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/0.8875, allocations: 202.7 kB / 0.7629 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.8914, allocations: 1.645 MB / 0.7645 GB, free: 117.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.8914, allocations: 13.38 kB / 0.7645 GB, free: 117.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.8914, allocations: 2.422 kB / 0.7645 GB, free: 117.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.8914, allocations: 8.578 kB / 0.7645 GB, free: 117.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006189/0.8976, allocations: 3.486 MB / 0.7679 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.8977, allocations: 6.953 kB / 0.7679 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.8984, allocations: 191.1 kB / 0.7681 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007819/0.9062, allocations: 1.262 MB / 0.7694 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.9064, allocations: 32.05 kB / 0.7694 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/0.9098, allocations: 6.039 MB / 0.7753 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9098, allocations: 4.625 kB / 0.7753 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/0.9136, allocations: 1.943 MB / 0.7772 GB, free: 110.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.9143, allocations: 318.6 kB / 0.7775 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/0.9147, allocations: 27.97 kB / 0.7775 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.9164, allocations: 124 kB / 0.7776 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.9165, allocations: 89.97 kB / 0.7777 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/0.9167, allocations: 87.91 kB / 0.7778 GB, free: 110.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001439/0.9182, allocations: 1.258 MB / 0.779 GB, free: 110.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9182, allocations: 3.562 kB / 0.779 GB, free: 110.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002778/0.921, allocations: 1.113 MB / 0.7801 GB, free: 110.2 MB / 0.545 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.001166/0.9221, allocations: 0.5329 MB / 0.7806 GB, free: 110.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005643/0.9278, allocations: 2.571 MB / 0.7832 GB, free: 109.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.9278, allocations: 6.406 kB / 0.7832 GB, free: 109.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.9295, allocations: 0.6988 MB / 0.7838 GB, free: 109.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/0.9341, allocations: 1.107 MB / 0.7849 GB, free: 109.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.9385, allocations: 3.043 MB / 0.7879 GB, free: 108.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.9392, allocations: 1.37 MB / 0.7892 GB, free: 107.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001483/0.9407, allocations: 375.5 kB / 0.7896 GB, free: 107.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.941, allocations: 129.2 kB / 0.7897 GB, free: 107.3 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.941, allocations: 0 / 0.7897 GB, free: 107.3 MB / 0.545 GB Notification: Performance of Templates: time 0.05845/0.9994, allocations: 52.91 MB / 0.8414 GB, free: 58.35 MB / 0.545 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)