Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.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.001398/0.001398, allocations: 118 kB / 17.84 MB, free: 5.234 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.001565/0.001565, allocations: 203.8 kB / 20.79 MB, free: 2.297 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.424/1.424, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9332/0.9332, allocations: 150 MB / 460.2 MB, free: 5.246 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: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) [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.003382/0.003382, allocations: 74.39 kB / 0.6368 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1891, allocations: 89.13 MB / 0.7238 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.6275/0.8167, allocations: 179.5 MB / 0.8991 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009103/0.8258, allocations: 8.766 MB / 0.9077 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.827, allocations: 28.78 kB / 0.9077 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008303/0.8278, allocations: 309.7 kB / 0.908 GB, free: 2.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.8286, allocations: 311.6 kB / 0.9083 GB, free: 2.508 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009884/0.8296, allocations: 381.8 kB / 0.9087 GB, free: 2.496 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.8306, allocations: 1.147 MB / 0.9098 GB, free: 2.488 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006739/0.8313, allocations: 495.1 kB / 0.9103 GB, free: 2.453 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.8358, allocations: 2.135 MB / 0.9124 GB, free: 2.379 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.8363, allocations: 372.2 kB / 0.9127 GB, free: 2.371 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.8363, allocations: 38.75 kB / 0.9128 GB, free: 2.371 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.8365, allocations: 89.83 kB / 0.9128 GB, free: 2.371 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.8367, allocations: 263.5 kB / 0.9131 GB, free: 2.367 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.837, allocations: 281.9 kB / 0.9134 GB, free: 2.367 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.8376, allocations: 0.637 MB / 0.914 GB, free: 2.266 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8376, allocations: 0 / 0.914 GB, free: 2.266 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8376, allocations: 0 / 0.914 GB, free: 2.266 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.8376, allocations: 2.531 kB / 0.914 GB, free: 2.266 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001082/0.8387, allocations: 0.8513 MB / 0.9148 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8387, allocations: 10.56 kB / 0.9148 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.514e-05/0.8388, allocations: 14.91 kB / 0.9148 GB, free: 17.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.321e-05/0.8389, allocations: 94.84 kB / 0.9149 GB, free: 17.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.659e-05/0.8389, allocations: 69.67 kB / 0.915 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.8395, allocations: 447.5 kB / 0.9154 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.8395, allocations: 42.66 kB / 0.9155 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.8396, allocations: 54.88 kB / 0.9155 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.8404, allocations: 0.7032 MB / 0.9162 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.8404, allocations: 6.031 kB / 0.9162 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.8405, allocations: 26.58 kB / 0.9162 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.8405, allocations: 24.05 kB / 0.9163 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.841, allocations: 383.5 kB / 0.9166 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.8434, allocations: 3.213 MB / 0.9198 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.8436, allocations: 217.5 kB / 0.92 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.8438, allocations: 127.3 kB / 0.9201 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.8438, allocations: 13.5 kB / 0.9201 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.8438, allocations: 43.22 kB / 0.9201 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.8438, allocations: 3.938 kB / 0.9202 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006408/0.8444, allocations: 252 kB / 0.9204 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/0.8446, allocations: 293.2 kB / 0.9207 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006762/0.8453, allocations: 0.6851 MB / 0.9213 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.8453, allocations: 29.33 kB / 0.9214 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.8455, allocations: 265.1 kB / 0.9216 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.8455, allocations: 38.67 kB / 0.9217 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.8456, allocations: 29.83 kB / 0.9217 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8457, allocations: 371.3 kB / 0.922 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.8458, allocations: 34.64 kB / 0.9221 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.846, allocations: 99.45 kB / 0.9222 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.8462, allocations: 131 kB / 0.9223 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8462, allocations: 0 / 0.9223 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000304/0.8465, allocations: 194 kB / 0.9225 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8465, allocations: 6.5 kB / 0.9225 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.8465, allocations: 4 kB / 0.9225 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8465, allocations: 2.125 kB / 0.9225 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.8468, allocations: 41.72 kB / 0.9225 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8468, allocations: 1.906 kB / 0.9225 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.8469, allocations: 61.56 kB / 0.9226 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.847, allocations: 7.031 kB / 0.9226 GB, free: 13.09 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0001831/0.8472, allocations: 207.3 kB / 0.9228 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.8473, allocations: 62.25 kB / 0.9229 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.8474, allocations: 63.2 kB / 0.9229 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.8474, allocations: 3.375 kB / 0.9229 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8474, allocations: 3.219 kB / 0.9229 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.8474, allocations: 2.375 kB / 0.9229 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.8487, allocations: 1.309 MB / 0.9242 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.8487, allocations: 3.25 kB / 0.9242 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.8489, allocations: 43.19 kB / 0.9242 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.8489, allocations: 2.562 kB / 0.9242 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.8489, allocations: 9 kB / 0.9243 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.8489, allocations: 12.38 kB / 0.9243 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8489, allocations: 3.406 kB / 0.9243 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.8493, allocations: 338 kB / 0.9246 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.8494, allocations: 152.6 kB / 0.9247 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.8495, allocations: 6.125 kB / 0.9247 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.8496, allocations: 16.2 kB / 0.9248 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.8497, allocations: 15.19 kB / 0.9248 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.8497, allocations: 6.094 kB / 0.9248 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004411/0.8501, allocations: 0.4935 MB / 0.9253 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8501, allocations: 0 / 0.9253 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003658/0.8505, allocations: 83.48 kB / 0.9253 GB, free: 11.45 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.0007861/0.8513, allocations: 0.8962 MB / 0.9262 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.8515, allocations: 108.5 kB / 0.9263 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8515, allocations: 0 / 0.9263 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.8517, allocations: 61.53 kB / 0.9264 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.8529, allocations: 293.6 kB / 0.9267 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.8576, allocations: 4.451 MB / 0.931 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.8581, allocations: 0.91 MB / 0.9319 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.8583, allocations: 99.28 kB / 0.932 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.8585, allocations: 170.3 kB / 0.9322 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of SimCode: time 4.6e-07/0.8585, allocations: 0 / 0.9322 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.8915, allocations: 13.64 MB / 0.9455 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9/9.891, allocations: 23.03 kB / 0.9455 GB, free: 3.875 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.632680053007789] Failed to read output from testmodel.py, exit status != 0: 10.020593332999852 10.040677905 9.198768172 Calling exit ...