Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 219.7 kB / 23.76 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9711/0.9711, allocations: 150 MB / 463.9 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 65.16 kB / 0.6425 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1827, allocations: 89.17 MB / 0.7296 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02481/0.2075, allocations: 21.35 MB / 0.7504 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008387/0.2159, allocations: 5.237 MB / 0.7555 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009185/0.2168, allocations: 27.75 kB / 0.7555 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.2177, allocations: 285.9 kB / 0.7558 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.2209, allocations: 1.073 MB / 0.7569 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.2227, allocations: 0.6543 MB / 0.7575 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.225, allocations: 1.473 MB / 0.7589 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.2257, allocations: 408.8 kB / 0.7593 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.2272, allocations: 0.7199 MB / 0.76 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008557/0.228, allocations: 0.5097 MB / 0.7605 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.2281, allocations: 48 kB / 0.7606 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.2296, allocations: 0.7681 MB / 0.7613 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.2298, allocations: 159.3 kB / 0.7615 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3662/0.596, allocations: 319 kB / 0.7618 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.5977, allocations: 1.002 MB / 0.7628 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5977, allocations: 0 / 0.7628 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5977, allocations: 0 / 0.7628 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.5977, allocations: 0 / 0.7628 GB, free: 9.91 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00184/0.5996, allocations: 0.9709 MB / 0.7637 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5996, allocations: 12.81 kB / 0.7637 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.6014, allocations: 237.1 kB / 0.764 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6024, allocations: 0.5199 MB / 0.7645 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.6025, allocations: 24.84 kB / 0.7645 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/0.6025, allocations: 33.34 kB / 0.7645 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.6033, allocations: 361.2 kB / 0.7649 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6033, allocations: 0 / 0.7649 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.6033, allocations: 11.12 kB / 0.7649 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.6033, allocations: 8.953 kB / 0.7649 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/0.6041, allocations: 336 kB / 0.7652 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.6067, allocations: 1.517 MB / 0.7667 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008499/0.6076, allocations: 348.8 kB / 0.767 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.608, allocations: 171.8 kB / 0.7672 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.6082, allocations: 48.98 kB / 0.7672 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.6082, allocations: 33.23 kB / 0.7673 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.6082, allocations: 0.6562 kB / 0.7673 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001411/0.6096, allocations: 0.5131 MB / 0.7678 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.6096, allocations: 57.06 kB / 0.7678 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/0.6105, allocations: 0.6182 MB / 0.7684 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.6106, allocations: 34.83 kB / 0.7685 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.6107, allocations: 254.5 kB / 0.7687 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.6108, allocations: 74.97 kB / 0.7688 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.611, allocations: 126.8 kB / 0.7689 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6111, allocations: 366.9 kB / 0.7692 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.6117, allocations: 235 kB / 0.7695 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000698/0.6124, allocations: 324.3 kB / 0.7698 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009955/0.6134, allocations: 447.3 kB / 0.7702 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6134, allocations: 0 / 0.7702 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003682/0.6171, allocations: 0.824 MB / 0.771 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6171, allocations: 5.203 kB / 0.771 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.6171, allocations: 5.219 kB / 0.771 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/0.6175, allocations: 105.1 kB / 0.7711 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.6182, allocations: 113.8 kB / 0.7712 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005309/0.6187, allocations: 0.6015 MB / 0.7718 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.6198, allocations: 91.2 kB / 0.7719 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.6199, allocations: 22.66 kB / 0.7719 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000842/0.6207, allocations: 362.5 kB / 0.7723 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007819/0.6215, allocations: 325.1 kB / 0.7726 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001081/0.6226, allocations: 432.5 kB / 0.773 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.6226, allocations: 0 / 0.773 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001763/0.6243, allocations: 0.6392 MB / 0.7736 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6243, allocations: 6.141 kB / 0.7736 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6243, allocations: 1 kB / 0.7736 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.6244, allocations: 2.375 kB / 0.7736 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.6252, allocations: 128 kB / 0.7737 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6252, allocations: 5.562 kB / 0.7737 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.6263, allocations: 94.22 kB / 0.7738 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.6263, allocations: 21.7 kB / 0.7739 GB, free: 6.539 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.6265, allocations: 207.8 kB / 0.7741 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.6266, allocations: 52.34 kB / 0.7741 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.6278, allocations: 490.2 kB / 0.7746 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.6278, allocations: 3.406 kB / 0.7746 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6278, allocations: 1.203 kB / 0.7746 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.6279, allocations: 1.172 kB / 0.7746 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.6304, allocations: 1.119 MB / 0.7757 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.6304, allocations: 9.25 kB / 0.7757 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/0.6322, allocations: 143.6 kB / 0.7758 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.6322, allocations: 3.047 kB / 0.7758 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.6322, allocations: 12.42 kB / 0.7758 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.6333, allocations: 0.6842 MB / 0.7765 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6333, allocations: 1.547 kB / 0.7765 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.6345, allocations: 0.5477 MB / 0.777 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.6348, allocations: 96.09 kB / 0.7771 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.6349, allocations: 4.875 kB / 0.7771 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.6356, allocations: 44.98 kB / 0.7772 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.6357, allocations: 22.34 kB / 0.7772 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.6357, allocations: 17.58 kB / 0.7772 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007708/0.6365, allocations: 435.4 kB / 0.7776 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6365, allocations: 0 / 0.7776 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001248/0.6377, allocations: 342.8 kB / 0.778 GB, free: 4.992 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005198/0.6382, allocations: 251.1 kB / 0.7782 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.6406, allocations: 0.7259 MB / 0.7789 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6406, allocations: 0.9375 kB / 0.7789 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.6427, allocations: 282 kB / 0.7792 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.6443, allocations: 214.1 kB / 0.7794 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.6462, allocations: 0.9216 MB / 0.7803 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.6466, allocations: 0.8625 MB / 0.7811 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.6469, allocations: 50.25 kB / 0.7812 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/0.6469, allocations: 0.875 kB / 0.7812 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.02268/0.6696, allocations: 12.51 MB / 0.7934 GB, free: 1.152 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.52663637814112] Failed to read output from testmodel.py, exit status != 0: 0.6786887508351356 0.6933748040000001 0.092241973 Calling exit ...