Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 113.6 kB / 17.12 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 196.6 kB / 20.08 MB, free: 3.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] 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.8805/0.8805, allocations: 129.2 MB / 432.5 MB, free: 13.17 MB / 350.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.88 kB / 0.5987 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4681, allocations: 83.44 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.2076/0.6757, allocations: 162 MB / 0.8384 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003922/0.6796, allocations: 1.715 MB / 0.8401 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006269/0.6802, allocations: 11.94 kB / 0.8401 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009018/0.6811, allocations: 162.9 kB / 0.8402 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.6832, allocations: 0.5251 MB / 0.8408 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.6846, allocations: 427.9 kB / 0.8412 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.6857, allocations: 0.5731 MB / 0.8417 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.6862, allocations: 148.5 kB / 0.8419 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.6877, allocations: 478.2 kB / 0.8423 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.688, allocations: 159.3 kB / 0.8425 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.688, allocations: 12 kB / 0.8425 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.6895, allocations: 0.7171 MB / 0.8432 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.6896, allocations: 71.73 kB / 0.8433 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.6899, allocations: 119.3 kB / 0.8434 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.6911, allocations: 0.4971 MB / 0.8439 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6911, allocations: 0 / 0.8439 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.235e-06/0.6911, allocations: 0 / 0.8439 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.6911, allocations: 0 / 0.8439 GB, free: 5.785 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001201/0.6923, allocations: 0.595 MB / 0.8444 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.6924, allocations: 15.97 kB / 0.8445 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.327e-05/0.6924, allocations: 46.55 kB / 0.8445 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.6929, allocations: 63.7 kB / 0.8446 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.6936, allocations: 305.5 kB / 0.8448 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.6936, allocations: 12 kB / 0.8449 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.6936, allocations: 12 kB / 0.8449 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.6941, allocations: 192.1 kB / 0.8451 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6941, allocations: 3.938 kB / 0.8451 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.6941, allocations: 8 kB / 0.8451 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.6941, allocations: 11.94 kB / 0.8451 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.6945, allocations: 125 kB / 0.8452 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.6957, allocations: 0.7849 MB / 0.846 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.696, allocations: 74.53 kB / 0.846 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.6961, allocations: 72.88 kB / 0.8461 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.6964, allocations: 198.1 kB / 0.8463 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6965, allocations: 34.56 kB / 0.8463 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.6965, allocations: 0 / 0.8463 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0007195/0.6972, allocations: 217.4 kB / 0.8465 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.6972, allocations: 51.41 kB / 0.8466 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.6976, allocations: 271 kB / 0.8468 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.6976, allocations: 29.7 kB / 0.8469 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.6977, allocations: 144 kB / 0.847 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.6978, allocations: 35.7 kB / 0.847 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.6978, allocations: 29.7 kB / 0.8471 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.698, allocations: 330.8 kB / 0.8474 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.6981, allocations: 48.83 kB / 0.8474 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.6983, allocations: 93.42 kB / 0.8475 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.6986, allocations: 127.3 kB / 0.8476 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6986, allocations: 0 / 0.8476 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003641/0.6989, allocations: 165.5 kB / 0.8478 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.699, allocations: 4 kB / 0.8478 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.699, allocations: 7.938 kB / 0.8478 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.699, allocations: 0 / 0.8478 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.6991, allocations: 19.98 kB / 0.8478 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6991, allocations: 4 kB / 0.8478 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.6993, allocations: 23.91 kB / 0.8479 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.6993, allocations: 11.94 kB / 0.8479 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002041/0.6996, allocations: 144.1 kB / 0.848 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001627/0.6997, allocations: 97.05 kB / 0.8481 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002444/0.7, allocations: 119.4 kB / 0.8482 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.7, allocations: 0 / 0.8482 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000335/0.7003, allocations: 157.4 kB / 0.8484 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.7003, allocations: 11.94 kB / 0.8484 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.7003, allocations: 0 / 0.8484 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/0.7003, allocations: 4.031 kB / 0.8484 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.7004, allocations: 23.92 kB / 0.8484 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.7004, allocations: 7.984 kB / 0.8484 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.7006, allocations: 11.98 kB / 0.8484 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.7006, allocations: 8.125 kB / 0.8484 GB, free: 0.7305 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.7007, allocations: 180.3 kB / 0.8486 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.7008, allocations: 35.75 kB / 0.8486 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.7012, allocations: 163.3 kB / 0.8488 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7012, allocations: 0 / 0.8488 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7012, allocations: 0 / 0.8488 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7012, allocations: 0 / 0.8488 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.7022, allocations: 0.5938 MB / 0.8494 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.7022, allocations: 4 kB / 0.8494 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.7024, allocations: 23.92 kB / 0.8494 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.7024, allocations: 4 kB / 0.8494 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.7024, allocations: 4 kB / 0.8494 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.7024, allocations: 4.219 kB / 0.8494 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7024, allocations: 8.219 kB / 0.8494 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.7028, allocations: 301.2 kB / 0.8497 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.7029, allocations: 116.9 kB / 0.8498 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.7029, allocations: 0 / 0.8498 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.7031, allocations: 15.98 kB / 0.8498 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.7032, allocations: 15.92 kB / 0.8498 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.7032, allocations: 8 kB / 0.8498 GB, free: 15.11 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000204/0.7034, allocations: 197.9 kB / 0.85 GB, free: 14.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7034, allocations: 0 / 0.85 GB, free: 14.92 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000493/0.7039, allocations: 95.83 kB / 0.8501 GB, free: 14.83 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/0.705, allocations: 0.8923 MB / 0.851 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005213/0.7055, allocations: 163.8 kB / 0.8512 GB, free: 13.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7055, allocations: 0 / 0.8512 GB, free: 13.74 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.7057, allocations: 59.83 kB / 0.8512 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.7064, allocations: 127.2 kB / 0.8513 GB, free: 13.56 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.7097, allocations: 2.353 MB / 0.8536 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.7101, allocations: 0.7558 MB / 0.8544 GB, free: 10.29 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.7104, allocations: 70.53 kB / 0.8544 GB, free: 10.22 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.7105, allocations: 71.41 kB / 0.8545 GB, free: 10.15 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.7105, allocations: 0 / 0.8545 GB, free: 10.15 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.7464, allocations: 6.943 MB / 0.8613 GB, free: 3.375 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.089, allocations: 4.062 kB / 0.8613 GB, free: 3.371 MB / 0.67 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.854455749038607] Failed to read output from testmodel.py, exit status != 0: 9.162594273220748 9.45556144 8.761216758 Calling exit ...