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.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.00131/0.00131, allocations: 103 kB / 16.45 MB, free: 6.445 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.001311/0.001311, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.374/1.374, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002246/0.002246, allocations: 276.6 kB / 303 MB, free: 3.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 180.9 MB / 0.5261 GB, free: 2.773 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 100.3 kB / 0.7248 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5609, allocations: 94.16 MB / 0.8167 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.204/0.7649, allocations: 176.6 MB / 0.9891 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.7752, allocations: 8.762 MB / 0.9977 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007173/0.7759, allocations: 19.88 kB / 0.9977 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008668/0.7768, allocations: 305.7 kB / 0.998 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008233/0.7776, allocations: 326.4 kB / 0.9983 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.7787, allocations: 378.8 kB / 0.9987 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.7798, allocations: 1.145 MB / 0.9998 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.7806, allocations: 498.3 kB / 1 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004588/0.7852, allocations: 2.137 MB / 1.002 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.7857, allocations: 378.4 kB / 1.003 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.7857, allocations: 44 kB / 1.003 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.7859, allocations: 87.88 kB / 1.003 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.7862, allocations: 267.2 kB / 1.003 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.7865, allocations: 282.5 kB / 1.003 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.7872, allocations: 0.634 MB / 1.004 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7872, allocations: 0 / 1.004 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7872, allocations: 4 kB / 1.004 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.7872, allocations: 0 / 1.004 GB, free: 0.7695 MB / 0.7325 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.001106/0.7883, allocations: 0.8411 MB / 1.005 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.7884, allocations: 12.03 kB / 1.005 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.7885, allocations: 98.5 kB / 1.005 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.678e-05/0.7886, allocations: 71.52 kB / 1.005 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.7893, allocations: 446.5 kB / 1.005 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.7894, allocations: 41.31 kB / 1.005 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.7894, allocations: 51.98 kB / 1.006 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.7904, allocations: 0.6988 MB / 1.006 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7904, allocations: 4 kB / 1.006 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.7905, allocations: 31.92 kB / 1.006 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/0.7905, allocations: 35.91 kB / 1.006 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.7911, allocations: 375.4 kB / 1.007 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.7938, allocations: 3.22 MB / 1.01 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.7941, allocations: 214.1 kB / 1.01 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.7942, allocations: 124.6 kB / 1.01 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.7943, allocations: 7.938 kB / 1.01 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.7943, allocations: 50.48 kB / 1.01 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.7943, allocations: 0 / 1.01 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0007299/0.795, allocations: 253.9 kB / 1.01 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.7952, allocations: 290.7 kB / 1.011 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.7959, allocations: 0.6877 MB / 1.011 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.796, allocations: 25.7 kB / 1.011 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.7962, allocations: 268.6 kB / 1.012 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.7962, allocations: 47.61 kB / 1.012 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.7963, allocations: 25.72 kB / 1.012 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7965, allocations: 370.8 kB / 1.012 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.7966, allocations: 35.97 kB / 1.012 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.7967, allocations: 101.1 kB / 1.012 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.797, allocations: 125.3 kB / 1.012 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.797, allocations: 0 / 1.012 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003337/0.7973, allocations: 193.2 kB / 1.012 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7973, allocations: 15.88 kB / 1.012 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7973, allocations: 4 kB / 1.012 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.7974, allocations: 4 kB / 1.012 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.7976, allocations: 40.14 kB / 1.013 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7976, allocations: 4 kB / 1.013 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.7978, allocations: 55.5 kB / 1.013 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.7978, allocations: 15.94 kB / 1.013 GB, free: 7.344 MB / 0.7481 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.0001991/0.798, allocations: 193.8 kB / 1.013 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.7982, allocations: 67.52 kB / 1.013 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.07e-05/0.7983, allocations: 68.31 kB / 1.013 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.7983, allocations: 4 kB / 1.013 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7983, allocations: 4 kB / 1.013 GB, free: 7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7983, allocations: 0 / 1.013 GB, free: 7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.7997, allocations: 1.3 MB / 1.014 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7997, allocations: 4 kB / 1.014 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.7999, allocations: 35.95 kB / 1.014 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7999, allocations: 4 kB / 1.014 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.7999, allocations: 4.281 kB / 1.014 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.7999, allocations: 8 kB / 1.014 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.7999, allocations: 11.92 kB / 1.014 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.8003, allocations: 330.7 kB / 1.015 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.8005, allocations: 148.7 kB / 1.015 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.8005, allocations: 8.281 kB / 1.015 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.8007, allocations: 11.98 kB / 1.015 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.8007, allocations: 23.86 kB / 1.015 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.8008, allocations: 7.938 kB / 1.015 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005438/0.8013, allocations: 0.4912 MB / 1.015 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.8013, allocations: 0 / 1.015 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003621/0.8017, allocations: 83.89 kB / 1.015 GB, free: 4.395 MB / 0.7481 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.0008865/0.8025, allocations: 0.9183 MB / 1.016 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.8028, allocations: 107.8 kB / 1.016 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8028, allocations: 0 / 1.016 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.803, allocations: 55.91 kB / 1.016 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.8042, allocations: 281.3 kB / 1.017 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.8094, allocations: 4.474 MB / 1.021 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.81, allocations: 0.905 MB / 1.022 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002428/0.8102, allocations: 108.6 kB / 1.022 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.8104, allocations: 171.4 kB / 1.022 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of SimCode: time 7.31e-07/0.8104, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.8483, allocations: 13.68 MB / 1.036 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/9.178, allocations: 5.406 kB / 1.036 GB, free: 15.73 MB / 0.7794 GB " [Timeout remaining time 651] (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: 12.900417927652597] Failed to read output from testmodel.py, exit status != 0: 9.258213103748858 9.275827162 8.485536357 Calling exit ...