Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001279/0.001279, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001448/0.001448, allocations: 217 kB / 23.04 MB, free: 5.074 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002484/0.002484, allocations: 288.3 kB / 313.5 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.19/1.19, allocations: 180.6 MB / 0.5377 GB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00278/0.00278, allocations: 100.2 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1572, allocations: 95.39 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5995/0.7567, allocations: 179.7 MB / 1.009 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008736/0.7655, allocations: 8.847 MB / 1.018 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007585/0.7662, allocations: 30.36 kB / 1.018 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000784/0.767, allocations: 306.2 kB / 1.018 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007001/0.7677, allocations: 315.4 kB / 1.018 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009796/0.7687, allocations: 418.2 kB / 1.019 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.7699, allocations: 1.177 MB / 1.02 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/0.7706, allocations: 453.3 kB / 1.02 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004701/0.7753, allocations: 2.168 MB / 1.022 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005558/0.7758, allocations: 387.3 kB / 1.023 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.591e-05/0.7759, allocations: 39.09 kB / 1.023 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.7761, allocations: 86.8 kB / 1.023 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.7763, allocations: 275.6 kB / 1.023 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.7766, allocations: 282.7 kB / 1.023 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.7772, allocations: 0.6338 MB / 1.024 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7772, allocations: 3.562 kB / 1.024 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7772, allocations: 1.094 kB / 1.024 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7772, allocations: 0 / 1.024 GB, free: 3.039 MB / 0.7169 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.001025/0.7782, allocations: 0.7594 MB / 1.025 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.7783, allocations: 9.125 kB / 1.025 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.171e-05/0.7783, allocations: 23.12 kB / 1.025 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.352e-05/0.7784, allocations: 96.2 kB / 1.025 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.7785, allocations: 73.23 kB / 1.025 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006448/0.7791, allocations: 377.1 kB / 1.025 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.7792, allocations: 38.39 kB / 1.025 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/0.7792, allocations: 55.67 kB / 1.025 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.7801, allocations: 0.7019 MB / 1.026 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.7801, allocations: 2.719 kB / 1.026 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.7801, allocations: 21.16 kB / 1.026 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.7802, allocations: 39.02 kB / 1.026 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.7807, allocations: 376.7 kB / 1.026 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.7832, allocations: 3.154 MB / 1.03 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.7834, allocations: 219.1 kB / 1.03 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.7835, allocations: 132.3 kB / 1.03 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.7836, allocations: 6.047 kB / 1.03 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.7836, allocations: 52.28 kB / 1.03 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.7836, allocations: 0.9062 kB / 1.03 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007376/0.7843, allocations: 252.7 kB / 1.03 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.7845, allocations: 292.8 kB / 1.03 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/0.7854, allocations: 0.6839 MB / 1.031 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.7854, allocations: 27.95 kB / 1.031 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.7856, allocations: 272 kB / 1.031 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.7856, allocations: 38.8 kB / 1.031 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.7857, allocations: 31.48 kB / 1.032 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.7859, allocations: 370.6 kB / 1.032 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.786, allocations: 35.92 kB / 1.032 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.7862, allocations: 100.5 kB / 1.032 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.7864, allocations: 125.2 kB / 1.032 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7864, allocations: 1.031 kB / 1.032 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003754/0.7868, allocations: 197.9 kB / 1.032 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.7868, allocations: 5.188 kB / 1.032 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7868, allocations: 0.9375 kB / 1.032 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.7869, allocations: 6.406 kB / 1.032 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.7871, allocations: 41.94 kB / 1.032 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.7871, allocations: 4.188 kB / 1.032 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.7874, allocations: 55.89 kB / 1.032 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.7874, allocations: 18.06 kB / 1.032 GB, free: 14.12 MB / 0.7325 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.000236/0.7876, allocations: 199.6 kB / 1.033 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.7879, allocations: 61.66 kB / 1.033 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/0.788, allocations: 62.52 kB / 1.033 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.788, allocations: 5.844 kB / 1.033 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.788, allocations: 3.094 kB / 1.033 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.788, allocations: 7.594 kB / 1.033 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.7896, allocations: 1.263 MB / 1.034 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7896, allocations: 3.5 kB / 1.034 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.7898, allocations: 48.89 kB / 1.034 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.7898, allocations: 3.406 kB / 1.034 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.7898, allocations: 2.938 kB / 1.034 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.7898, allocations: 2.938 kB / 1.034 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.7898, allocations: 9.156 kB / 1.034 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.7902, allocations: 337.9 kB / 1.034 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.7903, allocations: 75.48 kB / 1.034 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.7904, allocations: 6.797 kB / 1.034 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.7906, allocations: 6.938 kB / 1.034 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.7906, allocations: 22.45 kB / 1.034 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.7906, allocations: 5.281 kB / 1.034 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004835/0.7911, allocations: 0.4938 MB / 1.035 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7911, allocations: 0 / 1.035 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003966/0.7915, allocations: 86.7 kB / 1.035 GB, free: 12.65 MB / 0.7325 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.0009148/0.7924, allocations: 0.8945 MB / 1.036 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.7928, allocations: 109.1 kB / 1.036 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7928, allocations: 0.8438 kB / 1.036 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.7929, allocations: 60.19 kB / 1.036 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.7943, allocations: 275.2 kB / 1.036 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.7993, allocations: 4.459 MB / 1.041 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.7999, allocations: 0.9026 MB / 1.042 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.8002, allocations: 111.2 kB / 1.042 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.8004, allocations: 172.2 kB / 1.042 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/0.8004, allocations: 7.125 kB / 1.042 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.8349, allocations: 13.8 MB / 1.055 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.31, allocations: 10.39 kB / 1.055 GB, free: 6.473 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.38373184396187] Failed to read output from testmodel.py, exit status != 0: 12.47317358199507 12.487255328 11.707282441 Calling exit ...