Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0008489/0.0008489, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002112, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001209/0.001209, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002696, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9736/0.9736, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08792/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5908/0.5908, allocations: 120.1 MB / 364.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06227/0.6531, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.916e-05, allocations: 2.312 kB / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002338/0.002357, allocations: 1.389 MB / 405.1 MB, free: 9.508 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.003183, allocations: 0.5914 MB / 405.7 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.0032, allocations: 0 / 405.7 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.166e-06/0.003208, allocations: 4 kB / 405.7 MB, free: 8.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.424e-05/0.003232, allocations: 3.984 kB / 405.7 MB, free: 8.906 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.00361, allocations: 147.3 kB / 405.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.003666, allocations: 11.92 kB / 405.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.003705, allocations: 4 kB / 405.9 MB, free: 8.746 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.003754, allocations: 11.98 kB / 405.9 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.003807, allocations: 3.984 kB / 405.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.003816, allocations: 0 / 405.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.004232, allocations: 263.4 kB / 406.2 MB, free: 8.473 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.004244, allocations: 0 / 406.2 MB, free: 8.473 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.26e-05/0.004257, allocations: 4 kB / 406.2 MB, free: 8.469 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.004496, allocations: 131.5 kB / 406.3 MB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.004508, allocations: 0 / 406.3 MB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004508, allocations: 0 / 406.3 MB, free: 8.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.00452, allocations: 0 / 406.3 MB, free: 8.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003547/0.004874, allocations: 260.3 kB / 406.6 MB, free: 8.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.004907, allocations: 12.03 kB / 406.6 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.004937, allocations: 4.922 kB / 406.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.005026, allocations: 113.8 kB / 406.7 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.005036, allocations: 384 / 406.7 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.005048, allocations: 8.375 kB / 406.7 MB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.985e-05/0.005118, allocations: 30.27 kB / 406.7 MB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005126, allocations: 3.938 kB / 406.7 MB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.005131, allocations: 0 / 406.7 MB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.005137, allocations: 0 / 406.7 MB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.421e-05/0.005151, allocations: 11.92 kB / 406.7 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.577e-05/0.005237, allocations: 53.08 kB / 406.8 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.215e-05/0.005279, allocations: 22.58 kB / 406.8 MB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.005293, allocations: 12.86 kB / 406.8 MB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.005308, allocations: 3.938 kB / 406.8 MB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.005333, allocations: 38.62 kB / 406.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005334, allocations: 0 / 406.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 9.268e-05/0.005427, allocations: 37.62 kB / 406.9 MB, free: 7.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.005462, allocations: 59.34 kB / 407 MB, free: 7.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.005518, allocations: 94.72 kB / 407.1 MB, free: 7.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.005529, allocations: 25.7 kB / 407.1 MB, free: 7.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.005553, allocations: 84.14 kB / 407.2 MB, free: 7.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.005579, allocations: 12.19 kB / 407.2 MB, free: 7.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.005605, allocations: 13.72 kB / 407.2 MB, free: 7.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.005692, allocations: 314.8 kB / 407.5 MB, free: 7.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-06/0.005698, allocations: 0 / 407.5 MB, free: 7.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.005705, allocations: 4 kB / 407.5 MB, free: 7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.005729, allocations: 8.859 kB / 407.5 MB, free: 6.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005731, allocations: 0 / 407.5 MB, free: 6.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.528e-05/0.005786, allocations: 41.62 kB / 407.6 MB, free: 6.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.005799, allocations: 8 kB / 407.6 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.005803, allocations: 4.094 kB / 407.6 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.005814, allocations: 0 / 407.6 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.005939, allocations: 8 kB / 407.6 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000286/0.006225, allocations: 0.582 MB / 408.2 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.006241, allocations: 4 kB / 408.2 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.006247, allocations: 0 / 408.2 MB, free: 6.312 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 5.741e-05/0.006305, allocations: 109.8 kB / 408.3 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.006313, allocations: 11.88 kB / 408.3 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.006394, allocations: 45.06 kB / 408.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006396, allocations: 0 / 408.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.006397, allocations: 0 / 408.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.0064, allocations: 0 / 408.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.198e-05/0.006492, allocations: 61.91 kB / 408.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006493, allocations: 0 / 408.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.006566, allocations: 11.98 kB / 408.4 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.006572, allocations: 0 / 408.4 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.006576, allocations: 3.938 kB / 408.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.006581, allocations: 4 kB / 408.4 MB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002414/0.006822, allocations: 0.5821 MB / 409 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006823, allocations: 3.938 kB / 409 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.67e-05/0.00688, allocations: 73.03 kB / 409.1 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.00689, allocations: 4 kB / 409.1 MB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.137e-05/0.006902, allocations: 0 / 409.1 MB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.006913, allocations: 3.984 kB / 409.1 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.006916, allocations: 0 / 409.1 MB, free: 5.332 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.284e-05/0.006929, allocations: 8.859 kB / 409.1 MB, free: 5.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006929, allocations: 0 / 409.1 MB, free: 5.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.007113, allocations: 28.06 kB / 409.1 MB, free: 5.293 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001834/0.007296, allocations: 116.2 kB / 409.2 MB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.816e-05/0.007394, allocations: 12.86 kB / 409.2 MB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.0074, allocations: 4 kB / 409.2 MB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.007434, allocations: 12.84 kB / 409.2 MB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.263e-05/0.007507, allocations: 11.88 kB / 409.3 MB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.00799, allocations: 116.8 kB / 409.4 MB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.008023, allocations: 55.36 kB / 409.4 MB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.356e-05/0.008047, allocations: 0 / 409.4 MB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.008081, allocations: 47.38 kB / 409.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008082, allocations: 4 kB / 409.5 MB, free: 4.859 MB / 394.7 MB Notification: Performance of Templates: time 0.00243/0.01051, allocations: 0.6025 MB / 410.1 MB, free: 4.258 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.082704622298479]