Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.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.001218/0.001218, allocations: 108.8 kB / 16.45 MB, free: 6.453 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.001315/0.001315, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.383/1.383, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.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.00243/0.00243, allocations: 277.4 kB / 309.1 MB, free: 3.973 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.171/1.171, allocations: 180.9 MB / 0.5333 GB, free: 13.65 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.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.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",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.002733/0.002733, allocations: 111.2 kB / 0.7343 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1695, allocations: 95.34 MB / 0.8274 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1784/0.3479, allocations: 152.4 MB / 0.9762 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4063/0.7542, allocations: 3.62 MB / 0.9798 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.7543, allocations: 1.75 kB / 0.9798 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.7547, allocations: 72.27 kB / 0.9798 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.755, allocations: 140.6 kB / 0.98 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.7574, allocations: 1.036 MB / 0.981 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.7578, allocations: 324.2 kB / 0.9813 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.7578, allocations: 8 kB / 0.9813 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.7582, allocations: 207.8 kB / 0.9815 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.7584, allocations: 142.5 kB / 0.9816 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.7584, allocations: 11 kB / 0.9816 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.7605, allocations: 1.298 MB / 0.9829 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.7606, allocations: 73.45 kB / 0.983 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.7607, allocations: 108.4 kB / 0.9831 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.7619, allocations: 0.6477 MB / 0.9837 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7619, allocations: 2.812 kB / 0.9837 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7619, allocations: 0.8438 kB / 0.9837 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.7619, allocations: 0 / 0.9837 GB, free: 3.281 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001307/0.7632, allocations: 0.5981 MB / 0.9843 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.7632, allocations: 8.812 kB / 0.9843 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.427e-05/0.7633, allocations: 58.61 kB / 0.9844 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.7645, allocations: 140.2 kB / 0.9845 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.7648, allocations: 221.2 kB / 0.9847 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.7648, allocations: 17.31 kB / 0.9847 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.7648, allocations: 18.75 kB / 0.9847 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.7654, allocations: 340.2 kB / 0.9851 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.7654, allocations: 1.031 kB / 0.9851 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.7654, allocations: 16.45 kB / 0.9851 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.7655, allocations: 16.39 kB / 0.9851 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.766, allocations: 322.3 kB / 0.9854 GB, free: 18.49 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.7677, allocations: 1.109 MB / 0.9865 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.7682, allocations: 177.5 kB / 0.9867 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.7683, allocations: 79.58 kB / 0.9867 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000566/0.7689, allocations: 459 kB / 0.9872 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.7689, allocations: 39.5 kB / 0.9872 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.7689, allocations: 0 / 0.9872 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0006236/0.7695, allocations: 261.6 kB / 0.9875 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.7696, allocations: 54.83 kB / 0.9875 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.7697, allocations: 210.7 kB / 0.9877 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.7698, allocations: 28.58 kB / 0.9877 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.7699, allocations: 149.7 kB / 0.9879 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.7699, allocations: 76.25 kB / 0.988 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.77, allocations: 54.27 kB / 0.988 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7701, allocations: 328.8 kB / 0.9883 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.7703, allocations: 71.16 kB / 0.9884 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.7704, allocations: 163.7 kB / 0.9885 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.7707, allocations: 247.7 kB / 0.9888 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7707, allocations: 7.781 kB / 0.9888 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000484/0.7712, allocations: 291.2 kB / 0.9891 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7712, allocations: 5.812 kB / 0.9891 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.7712, allocations: 4.547 kB / 0.9891 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.7713, allocations: 7.219 kB / 0.9891 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.7715, allocations: 52.58 kB / 0.9891 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.7715, allocations: 9.391 kB / 0.9891 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.7717, allocations: 33 kB / 0.9892 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.7718, allocations: 19.05 kB / 0.9892 GB, free: 16.16 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001499/0.7719, allocations: 135 kB / 0.9893 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.7721, allocations: 27 kB / 0.9893 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005174/0.7726, allocations: 272.7 kB / 0.9896 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.7726, allocations: 6.078 kB / 0.9896 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.7726, allocations: 5.453 kB / 0.9896 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7726, allocations: 1.781 kB / 0.9896 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.7734, allocations: 0.5856 MB / 0.9902 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.7734, allocations: 4.125 kB / 0.9902 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.7736, allocations: 37.61 kB / 0.9902 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.7736, allocations: 3.312 kB / 0.9902 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.7736, allocations: 5.328 kB / 0.9902 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.7736, allocations: 2.219 kB / 0.9902 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7736, allocations: 1.781 kB / 0.9902 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.7741, allocations: 347.4 kB / 0.9906 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.7743, allocations: 122.6 kB / 0.9907 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.7743, allocations: 5.953 kB / 0.9907 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.7745, allocations: 13.3 kB / 0.9907 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.7746, allocations: 13.95 kB / 0.9907 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.7746, allocations: 12.23 kB / 0.9907 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001378/0.7747, allocations: 150.5 kB / 0.9909 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7747, allocations: 0 / 0.9909 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005855/0.7753, allocations: 128 kB / 0.991 GB, free: 15.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001166/0.7765, allocations: 1.001 MB / 0.992 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.7769, allocations: 195.5 kB / 0.9922 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7769, allocations: 2.062 kB / 0.9922 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.777, allocations: 96.53 kB / 0.9923 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.7777, allocations: 94.39 kB / 0.9923 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.7808, allocations: 2.507 MB / 0.9948 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.7812, allocations: 0.7425 MB / 0.9955 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002696/0.7815, allocations: 62.11 kB / 0.9956 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.7816, allocations: 59.59 kB / 0.9956 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.7816, allocations: 1.594 kB / 0.9956 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.8128, allocations: 7.865 MB / 1.003 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.841, allocations: 8.625 kB / 1.003 GB, free: 11.77 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirProperties_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_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.786214610096067] Failed to read output from testmodel.py, exit status != 0: 8.90939812688157 8.920147562 8.156096043 Calling exit ...