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.001269/0.001269, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001521/0.001521, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.805 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.002494/0.002494, allocations: 300.3 kB / 312.7 MB, free: 2.621 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.178/1.178, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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="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: 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.00286/0.00286, allocations: 104.5 kB / 0.7395 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1746, allocations: 95.38 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.6056/0.7802, allocations: 155.3 MB / 0.9843 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008366/0.7885, allocations: 8.012 MB / 0.9921 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005911/0.7891, allocations: 31.44 kB / 0.9922 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.7899, allocations: 310.7 kB / 0.9925 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.7905, allocations: 320.2 kB / 0.9928 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009791/0.7915, allocations: 393 kB / 0.9932 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000992/0.7925, allocations: 1.164 MB / 0.9943 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006018/0.7931, allocations: 446.8 kB / 0.9947 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.7974, allocations: 2.087 MB / 0.9968 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.798, allocations: 366.7 kB / 0.9971 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.349e-05/0.7981, allocations: 40.69 kB / 0.9971 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.7983, allocations: 80.48 kB / 0.9972 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.7986, allocations: 273.5 kB / 0.9975 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.7989, allocations: 229.3 kB / 0.9977 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008486/0.7998, allocations: 0.6446 MB / 0.9983 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.7998, allocations: 1.812 kB / 0.9983 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7998, allocations: 0 / 0.9983 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.7998, allocations: 4.781 kB / 0.9983 GB, free: 3.465 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.0011/0.8009, allocations: 0.7672 MB / 0.9991 GB, free: 19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8009, allocations: 15.92 kB / 0.9991 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.135e-05/0.801, allocations: 95.33 kB / 0.9992 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.8011, allocations: 72.2 kB / 0.9993 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.8019, allocations: 381.2 kB / 0.9996 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.8019, allocations: 40.09 kB / 0.9997 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.802, allocations: 53.42 kB / 0.9997 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/0.803, allocations: 0.7031 MB / 1 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.803, allocations: 2.562 kB / 1 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.803, allocations: 25.09 kB / 1 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.8031, allocations: 36.52 kB / 1 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.8038, allocations: 378 kB / 1.001 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.8067, allocations: 3.07 MB / 1.004 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.8069, allocations: 216.9 kB / 1.004 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.8071, allocations: 127 kB / 1.004 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.8071, allocations: 9.391 kB / 1.004 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.8072, allocations: 47.94 kB / 1.004 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.8072, allocations: 1.688 kB / 1.004 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006937/0.8079, allocations: 246.8 kB / 1.004 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.8081, allocations: 300 kB / 1.005 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.8091, allocations: 0.6843 MB / 1.005 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.8091, allocations: 30.7 kB / 1.005 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.8093, allocations: 264.9 kB / 1.006 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.8093, allocations: 39.7 kB / 1.006 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.8094, allocations: 33.47 kB / 1.006 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8095, allocations: 368.2 kB / 1.006 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.8096, allocations: 32.95 kB / 1.006 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.8098, allocations: 229.6 kB / 1.006 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.8101, allocations: 124.9 kB / 1.006 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8101, allocations: 0.9062 kB / 1.006 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003134/0.8104, allocations: 196.3 kB / 1.007 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8104, allocations: 6.531 kB / 1.007 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8104, allocations: 1.156 kB / 1.007 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8104, allocations: 4.188 kB / 1.007 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.8106, allocations: 45.83 kB / 1.007 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.8106, allocations: 2.438 kB / 1.007 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.8108, allocations: 62.03 kB / 1.007 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.8109, allocations: 13.8 kB / 1.007 GB, free: 14.4 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.0002/0.8111, allocations: 204.3 kB / 1.007 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.8112, allocations: 60.69 kB / 1.007 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.8113, allocations: 58.58 kB / 1.007 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.8113, allocations: 11.06 kB / 1.007 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8113, allocations: 3.125 kB / 1.007 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8113, allocations: 4.672 kB / 1.007 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.8127, allocations: 1.233 MB / 1.008 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8127, allocations: 2.906 kB / 1.008 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.8128, allocations: 46.25 kB / 1.008 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.8129, allocations: 4.219 kB / 1.008 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.8129, allocations: 3.312 kB / 1.008 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.8129, allocations: 3.438 kB / 1.008 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8129, allocations: 6.219 kB / 1.008 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.8132, allocations: 340.4 kB / 1.009 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.8133, allocations: 79.78 kB / 1.009 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.8134, allocations: 4.094 kB / 1.009 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.8136, allocations: 14.38 kB / 1.009 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.8136, allocations: 18.73 kB / 1.009 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.8136, allocations: 4.594 kB / 1.009 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004745/0.8141, allocations: 0.4969 MB / 1.009 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8141, allocations: 0 / 1.009 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003874/0.8145, allocations: 82.11 kB / 1.009 GB, free: 12.93 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.0007445/0.8152, allocations: 0.8897 MB / 1.01 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.8155, allocations: 113 kB / 1.01 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8155, allocations: 2.344 kB / 1.01 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.8156, allocations: 62.98 kB / 1.01 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.8168, allocations: 279.2 kB / 1.011 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.8214, allocations: 4.456 MB / 1.015 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.8217, allocations: 310.3 kB / 1.015 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.8219, allocations: 104.4 kB / 1.015 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.822, allocations: 170.5 kB / 1.016 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of SimCode: time 5.92e-07/0.822, allocations: 3.625 kB / 1.016 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04535/0.8674, allocations: 15.23 MB / 1.03 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.68, allocations: 11.03 kB / 1.03 GB, free: 8.48 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.748498886823654] Failed to read output from testmodel.py, exit status != 0: 11.791693110950291 11.80595536 11.003528707 Calling exit ...