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.0009018/0.0009018, allocations: 77.09 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001272/0.001272, allocations: 169 kB / 24.05 MB, free: 456 kB / 18.57 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 0.9485/0.9485, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.6948/0.6948, allocations: 115 MB / 376 MB, free: 7.512 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 481.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.239e-05, allocations: 2.312 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.006394/0.006407, allocations: 9.051 MB / 491 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.009903, allocations: 3.365 MB / 494.4 MB, free: 3.273 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.01023, allocations: 27.31 kB / 494.4 MB, free: 3.258 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.01064, allocations: 182.9 kB / 494.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.01177, allocations: 0.7911 MB / 495.4 MB, free: 2.699 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.01266, allocations: 0.642 MB / 496 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.01391, allocations: 1.414 MB / 497.4 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.01433, allocations: 396.4 kB / 497.8 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.01508, allocations: 0.7578 MB / 498.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.01548, allocations: 438.1 kB / 499 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.01556, allocations: 48.19 kB / 499 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.01618, allocations: 492.1 kB / 499.5 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.01629, allocations: 164.9 kB / 499.7 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.01649, allocations: 222.9 kB / 499.9 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009058/0.01739, allocations: 0.7664 MB / 0.4889 GB, free: 460 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.0174, allocations: 2.016 kB / 0.4889 GB, free: 460 kB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.0174, allocations: 0 / 0.4889 GB, free: 460 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.01741, allocations: 1.719 kB / 0.4889 GB, free: 460 kB / 410.7 MB 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.001226/0.01863, allocations: 1.036 MB / 0.4899 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01867, allocations: 8.75 kB / 0.49 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009456/0.01962, allocations: 268.2 kB / 0.4902 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.0203, allocations: 0.4919 MB / 0.4907 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.02033, allocations: 26.28 kB / 0.4907 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.02038, allocations: 35.53 kB / 0.4907 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.02083, allocations: 250.9 kB / 0.491 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.02084, allocations: 0.75 kB / 0.491 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.02087, allocations: 10.83 kB / 0.491 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.02088, allocations: 7.594 kB / 0.491 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.02111, allocations: 115.9 kB / 0.4911 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.02251, allocations: 0.9694 MB / 0.4921 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.0228, allocations: 170 kB / 0.4922 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.0229, allocations: 77.08 kB / 0.4923 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.02302, allocations: 35.03 kB / 0.4923 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.02305, allocations: 41.72 kB / 0.4924 GB, free: 14.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.02305, allocations: 1.219 kB / 0.4924 GB, free: 14.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004718/0.02352, allocations: 249.1 kB / 0.4926 GB, free: 14.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.02355, allocations: 53.72 kB / 0.4927 GB, free: 14.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.024, allocations: 0.5395 MB / 0.4932 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.02403, allocations: 33.23 kB / 0.4932 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.02424, allocations: 308.3 kB / 0.4935 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.02431, allocations: 68.66 kB / 0.4936 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.02453, allocations: 139.4 kB / 0.4937 GB, free: 13.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.02469, allocations: 0.5314 MB / 0.4942 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.02487, allocations: 95.81 kB / 0.4943 GB, free: 13.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.02517, allocations: 461 kB / 0.4948 GB, free: 12.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.02547, allocations: 201.3 kB / 0.495 GB, free: 12.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.02548, allocations: 1.219 kB / 0.495 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001433/0.02691, allocations: 0.5431 MB / 0.4955 GB, free: 12.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.02692, allocations: 4.781 kB / 0.4955 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.02693, allocations: 1.984 kB / 0.4955 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.02806, allocations: 261.1 kB / 0.4957 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.02836, allocations: 105.3 kB / 0.4958 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004369/0.02879, allocations: 0.8169 MB / 0.4966 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.02913, allocations: 60.27 kB / 0.4967 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.02918, allocations: 18.84 kB / 0.4967 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002468/0.02942, allocations: 218.5 kB / 0.4969 GB, free: 11.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002917/0.02972, allocations: 456 kB / 0.4974 GB, free: 10.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002702/0.02999, allocations: 208.7 kB / 0.4976 GB, free: 10.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.02999, allocations: 0.5938 kB / 0.4976 GB, free: 10.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0004948/0.03048, allocations: 368.7 kB / 0.4979 GB, free: 10.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.03049, allocations: 4 kB / 0.4979 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.03049, allocations: 4.531 kB / 0.4979 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-06/0.0305, allocations: 0.6562 kB / 0.4979 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.03082, allocations: 118.3 kB / 0.498 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.03083, allocations: 8.656 kB / 0.498 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.03113, allocations: 64.2 kB / 0.4981 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.03117, allocations: 20.25 kB / 0.4981 GB, free: 10.19 MB / 426.7 MB 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.0001528/0.03132, allocations: 286 kB / 0.4984 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.0314, allocations: 63.61 kB / 0.4985 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.03189, allocations: 273.5 kB / 0.4987 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.0319, allocations: 4.703 kB / 0.4987 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.0319, allocations: 0.5625 kB / 0.4987 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.03191, allocations: 1.266 kB / 0.4987 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.03315, allocations: 0.7496 MB / 0.4995 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.03316, allocations: 0 / 0.4995 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/0.03382, allocations: 134.5 kB / 0.4996 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.03383, allocations: 4 kB / 0.4996 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.03385, allocations: 2.578 kB / 0.4996 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007787/0.03463, allocations: 0.972 MB / 0.5005 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.03463, allocations: 0.6094 kB / 0.5005 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.03505, allocations: 410.4 kB / 0.5009 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.0352, allocations: 93.41 kB / 0.501 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.03525, allocations: 10.5 kB / 0.501 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.03546, allocations: 27.41 kB / 0.5011 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.03552, allocations: 20.19 kB / 0.5011 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.03555, allocations: 13.92 kB / 0.5011 GB, free: 7.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000276/0.03582, allocations: 347.8 kB / 0.5014 GB, free: 7.035 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03582, allocations: 0 / 0.5014 GB, free: 7.035 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006413/0.03646, allocations: 323.6 kB / 0.5017 GB, free: 6.723 MB / 426.7 MB 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.0004514/0.03692, allocations: 211.6 kB / 0.5019 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.03759, allocations: 403.1 kB / 0.5023 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.03759, allocations: 0 / 0.5023 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.03828, allocations: 189.3 kB / 0.5025 GB, free: 6.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.0389, allocations: 214.3 kB / 0.5027 GB, free: 5.879 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.03998, allocations: 0.8252 MB / 0.5035 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.04006, allocations: 120.5 kB / 0.5036 GB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.04042, allocations: 128 kB / 0.5037 GB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.04084, allocations: 250.1 kB / 0.504 GB, free: 4.629 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.04084, allocations: 4 kB / 0.504 GB, free: 4.625 MB / 426.7 MB Notification: Performance of Templates: time 0.0166/0.05744, allocations: 15.19 MB / 0.5188 GB, free: 6.191 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8298040376976132]