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.0008367/0.0008367, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008949/0.0008949, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8633/0.8633, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001464/0.001464, allocations: 244 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6517/0.6517, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 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.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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.138e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.3555/0.3556, allocations: 131.1 MB / 0.7743 GB, free: 8.055 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.3583, allocations: 3.294 MB / 0.7776 GB, free: 4.746 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3584, allocations: 7.938 kB / 0.7776 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.3587, allocations: 59.64 kB / 0.7776 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.359, allocations: 143 kB / 0.7778 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.3612, allocations: 1.077 MB / 0.7788 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.3615, allocations: 331.5 kB / 0.7791 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.3616, allocations: 9.812 kB / 0.7791 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.3619, allocations: 247.2 kB / 0.7794 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.3621, allocations: 123.6 kB / 0.7795 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.3621, allocations: 8 kB / 0.7795 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3636, allocations: 1.067 MB / 0.7805 GB, free: 1.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3637, allocations: 83.77 kB / 0.7806 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.3638, allocations: 79.83 kB / 0.7807 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3649, allocations: 0.6739 MB / 0.7813 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3649, allocations: 4 kB / 0.7814 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3649, allocations: 0 / 0.7814 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3649, allocations: 0 / 0.7814 GB, free: 0.8398 MB / 0.6042 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.0009416/0.3659, allocations: 0.5181 MB / 0.7819 GB, free: 304 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3659, allocations: 13.94 kB / 0.7819 GB, free: 292 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.3659, allocations: 58.72 kB / 0.7819 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007941/0.3667, allocations: 128.7 kB / 0.7821 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.367, allocations: 177.3 kB / 0.7822 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.367, allocations: 12.75 kB / 0.7822 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.367, allocations: 20.12 kB / 0.7823 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.3675, allocations: 0.5857 MB / 0.7828 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3675, allocations: 3.984 kB / 0.7828 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.3676, allocations: 11.98 kB / 0.7828 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.3676, allocations: 15.98 kB / 0.7829 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.3679, allocations: 320.9 kB / 0.7832 GB, free: 14.86 MB / 0.6198 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.00105/0.369, allocations: 0.949 MB / 0.7841 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.3693, allocations: 179.3 kB / 0.7843 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.3694, allocations: 76.75 kB / 0.7843 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.3696, allocations: 75.92 kB / 0.7844 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3696, allocations: 42.5 kB / 0.7844 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.705e-06/0.3696, allocations: 0 / 0.7844 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0005084/0.3701, allocations: 261.5 kB / 0.7847 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3702, allocations: 59.34 kB / 0.7848 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.3706, allocations: 219.1 kB / 0.785 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.3706, allocations: 29.7 kB / 0.785 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.3707, allocations: 144.2 kB / 0.7851 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.3707, allocations: 75.36 kB / 0.7852 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.3708, allocations: 54.98 kB / 0.7852 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.3708, allocations: 330.8 kB / 0.7856 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.3709, allocations: 72.22 kB / 0.7856 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.371, allocations: 156.2 kB / 0.7858 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.3712, allocations: 250.9 kB / 0.786 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3713, allocations: 0 / 0.786 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003174/0.3716, allocations: 283.4 kB / 0.7863 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3716, allocations: 8.734 kB / 0.7863 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3716, allocations: 7.938 kB / 0.7863 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3716, allocations: 7.984 kB / 0.7863 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3717, allocations: 47.92 kB / 0.7864 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3717, allocations: 11.88 kB / 0.7864 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3719, allocations: 32.11 kB / 0.7864 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.3719, allocations: 21.38 kB / 0.7864 GB, free: 11.31 MB / 0.6198 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 9.608e-05/0.372, allocations: 142.4 kB / 0.7866 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.372, allocations: 23.89 kB / 0.7866 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.3723, allocations: 267.3 kB / 0.7868 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3724, allocations: 7.984 kB / 0.7868 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3724, allocations: 0 / 0.7868 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3724, allocations: 3.938 kB / 0.7868 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.3728, allocations: 0.5449 MB / 0.7874 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3728, allocations: 5.562 kB / 0.7874 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.3729, allocations: 31.92 kB / 0.7874 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3729, allocations: 6.188 kB / 0.7874 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3729, allocations: 8 kB / 0.7874 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3729, allocations: 0 / 0.7874 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3729, allocations: 0 / 0.7874 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.3733, allocations: 351.4 kB / 0.7878 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.3733, allocations: 51.7 kB / 0.7878 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3734, allocations: 7.922 kB / 0.7878 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3735, allocations: 16 kB / 0.7878 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3735, allocations: 19.95 kB / 0.7879 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.3735, allocations: 8 kB / 0.7879 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000103/0.3736, allocations: 157.4 kB / 0.788 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3736, allocations: 0 / 0.788 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004005/0.374, allocations: 115.8 kB / 0.7881 GB, free: 9.496 MB / 0.6198 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.000796/0.3748, allocations: 1.021 MB / 0.7891 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3751, allocations: 199.5 kB / 0.7893 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3751, allocations: 0 / 0.7893 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.3752, allocations: 97.56 kB / 0.7894 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.3756, allocations: 98.22 kB / 0.7895 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.3779, allocations: 2.486 MB / 0.7919 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.926e-05/0.3779, allocations: 128.4 kB / 0.792 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.3781, allocations: 58.19 kB / 0.7921 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.3782, allocations: 56.48 kB / 0.7922 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.3782, allocations: 4 kB / 0.7922 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3981, allocations: 8.919 MB / 0.8009 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.4/6.798, allocations: 6.234 kB / 0.8009 GB, free: 12.57 MB / 0.6355 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.292422761209309] Failed to read output from testmodel.py, exit status != 0: 6.879144434817135 6.88833258 6.52149138 Calling exit ...