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.00129/0.00129, allocations: 82.88 kB / 19.94 MB, free: 1.777 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.001374/0.001374, allocations: 163.9 kB / 23.21 MB, free: 4.91 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.379/1.379, allocations: 177.1 MB / 203.5 MB, free: 9.176 MB / 190.1 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.9003/0.9003, allocations: 114 MB / 373.9 MB, free: 13.26 MB / 350.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: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.824e-05, allocations: 2.938 kB / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02204/0.02206, allocations: 19.22 MB / 0.5734 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00746/0.02952, allocations: 4.786 MB / 0.5781 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.03, allocations: 23.75 kB / 0.5781 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007395/0.03074, allocations: 270 kB / 0.5784 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.0332, allocations: 1.087 MB / 0.5794 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.03476, allocations: 0.6806 MB / 0.5801 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.03647, allocations: 1.414 MB / 0.5815 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.03701, allocations: 372.8 kB / 0.5818 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.03837, allocations: 0.8839 MB / 0.5827 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.03907, allocations: 442.7 kB / 0.5831 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.03917, allocations: 48 kB / 0.5832 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.04023, allocations: 0.5807 MB / 0.5837 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.04042, allocations: 155.3 kB / 0.5839 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.04071, allocations: 223.4 kB / 0.5841 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.04203, allocations: 1.005 MB / 0.5851 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.04203, allocations: 0 / 0.5851 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04203, allocations: 0 / 0.5851 GB, free: 3.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.04204, allocations: 0 / 0.5851 GB, free: 3.395 MB / 494.1 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.001981/0.04402, allocations: 0.9578 MB / 0.586 GB, free: 2.406 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.04406, allocations: 8.625 kB / 0.586 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.04595, allocations: 239.9 kB / 0.5863 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.04704, allocations: 0.5113 MB / 0.5868 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.04707, allocations: 28.5 kB / 0.5868 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.04714, allocations: 35.94 kB / 0.5868 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/0.04799, allocations: 381.5 kB / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.04801, allocations: 0 / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.04805, allocations: 12 kB / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.04806, allocations: 8 kB / 0.5872 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009234/0.04898, allocations: 341.8 kB / 0.5875 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.05138, allocations: 1.067 MB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000934/0.05231, allocations: 346.5 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.05275, allocations: 172.7 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.05294, allocations: 47.97 kB / 0.5891 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.05297, allocations: 30.56 kB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.674e-06/0.05297, allocations: 4 kB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001528/0.0545, allocations: 0.5027 MB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.05455, allocations: 55.34 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008843/0.05543, allocations: 0.5887 MB / 0.5903 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.05549, allocations: 29.7 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.0557, allocations: 261 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.05578, allocations: 67.47 kB / 0.5906 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.05602, allocations: 126 kB / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.0562, allocations: 358.8 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.05688, allocations: 246.7 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009068/0.05779, allocations: 0.5679 MB / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.05898, allocations: 444.4 kB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.05899, allocations: 3.938 kB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003707/0.06269, allocations: 0.8122 MB / 0.5931 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.06271, allocations: 8 kB / 0.5931 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.06272, allocations: 7.938 kB / 0.5931 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.06307, allocations: 104.8 kB / 0.5932 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.06375, allocations: 115.8 kB / 0.5933 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006542/0.0644, allocations: 0.5914 MB / 0.5939 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009304/0.06533, allocations: 95.8 kB / 0.594 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/0.0654, allocations: 24.08 kB / 0.594 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008444/0.06625, allocations: 364.9 kB / 0.5943 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009013/0.06715, allocations: 0.5757 MB / 0.5949 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00113/0.06828, allocations: 435.3 kB / 0.5953 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.06828, allocations: 0 / 0.5953 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001668/0.06995, allocations: 0.6234 MB / 0.5959 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.06996, allocations: 4 kB / 0.5959 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/0.06996, allocations: 0 / 0.5959 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.06997, allocations: 4 kB / 0.5959 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/0.07074, allocations: 131.8 kB / 0.5961 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.07075, allocations: 4 kB / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.0717, allocations: 87.84 kB / 0.5962 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.07176, allocations: 23.98 kB / 0.5962 GB, free: 7.621 MB / 0.4981 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.0002135/0.07198, allocations: 216 kB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.0721, allocations: 55.66 kB / 0.5964 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.07335, allocations: 482 kB / 0.5969 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.07336, allocations: 4 kB / 0.5969 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.07336, allocations: 0 / 0.5969 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.07337, allocations: 3.984 kB / 0.5969 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.07573, allocations: 0.9774 MB / 0.5979 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.07574, allocations: 0 / 0.5979 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.07747, allocations: 139.8 kB / 0.598 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.07747, allocations: 7.938 kB / 0.598 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.07751, allocations: 8 kB / 0.598 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.07869, allocations: 0.6837 MB / 0.5987 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.07869, allocations: 11.91 kB / 0.5987 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.07979, allocations: 0.5301 MB / 0.5992 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.08, allocations: 95.67 kB / 0.5993 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.924e-05/0.08009, allocations: 7.984 kB / 0.5993 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/0.08071, allocations: 43.94 kB / 0.5993 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.08077, allocations: 27.84 kB / 0.5994 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.08081, allocations: 8 kB / 0.5994 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006515/0.08146, allocations: 414.8 kB / 0.5998 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.08146, allocations: 0 / 0.5998 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009472/0.08241, allocations: 347.3 kB / 0.6001 GB, free: 3.488 MB / 0.4981 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.0004905/0.0829, allocations: 262.8 kB / 0.6004 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002143/0.08504, allocations: 0.744 MB / 0.6011 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.08505, allocations: 0 / 0.6011 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.08706, allocations: 283.9 kB / 0.6014 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.08802, allocations: 182 kB / 0.6015 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.08945, allocations: 0.8591 MB / 0.6024 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.08971, allocations: 262.9 kB / 0.6026 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005872/0.09029, allocations: 162.8 kB / 0.6028 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.09052, allocations: 48.48 kB / 0.6028 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.09052, allocations: 0 / 0.6028 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of Templates: time 0.02381/0.1143, allocations: 14.61 MB / 0.6171 GB, free: 2.27 MB / 0.5137 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.869134794920683] Failed to read output from testmodel.py, exit status != 0: 0.12254324927926064 0.13596065400000001 0.090982801 Calling exit ...