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.00122/0.00122, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002155/0.002155, allocations: 213.5 kB / 23.03 MB, free: 4.926 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002612/0.002612, allocations: 284 kB / 313.5 MB, free: 2.609 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.225/1.225, allocations: 180.6 MB / 0.5377 GB, free: 14.48 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.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",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.00275/0.00275, allocations: 102.8 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1813, allocations: 95.38 MB / 0.8334 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1598/0.341, allocations: 131 MB / 0.9613 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00452/0.3455, allocations: 3.287 MB / 0.9646 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.3457, allocations: 4 kB / 0.9646 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.3461, allocations: 59.59 kB / 0.9646 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0004022/0.3465, allocations: 139.2 kB / 0.9648 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.3494, allocations: 1.048 MB / 0.9658 GB, free: 256 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.3499, allocations: 323.7 kB / 0.9661 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.35, allocations: 5.75 kB / 0.9661 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.3506, allocations: 215.4 kB / 0.9663 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.3509, allocations: 139.5 kB / 0.9664 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.351, allocations: 8 kB / 0.9664 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.3531, allocations: 1.063 MB / 0.9675 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.3532, allocations: 71.78 kB / 0.9675 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.3534, allocations: 99.59 kB / 0.9676 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.3548, allocations: 0.6154 MB / 0.9682 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3548, allocations: 0 / 0.9682 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3548, allocations: 7.984 kB / 0.9682 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3548, allocations: 0 / 0.9682 GB, free: 13.71 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.001418/0.3562, allocations: 0.5242 MB / 0.9688 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3563, allocations: 13.34 kB / 0.9688 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.3563, allocations: 4.562 kB / 0.9688 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.811e-05/0.3563, allocations: 54.73 kB / 0.9688 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.3576, allocations: 132.7 kB / 0.969 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.3579, allocations: 177.7 kB / 0.9691 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3579, allocations: 12.38 kB / 0.9691 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.358, allocations: 16 kB / 0.9692 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.3587, allocations: 0.5891 MB / 0.9697 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3587, allocations: 8 kB / 0.9697 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.3587, allocations: 8 kB / 0.9697 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.3588, allocations: 15.98 kB / 0.9698 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.3594, allocations: 328.1 kB / 0.9701 GB, free: 11.7 MB / 0.7169 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.001678/0.361, allocations: 0.9381 MB / 0.971 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.3615, allocations: 174.5 kB / 0.9712 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.3617, allocations: 80.75 kB / 0.9712 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003937/0.3621, allocations: 75.94 kB / 0.9713 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.3621, allocations: 42.48 kB / 0.9713 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.3621, allocations: 4.109 kB / 0.9713 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0006932/0.3628, allocations: 261.3 kB / 0.9716 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3628, allocations: 51.41 kB / 0.9716 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3631, allocations: 207.2 kB / 0.9718 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.3631, allocations: 33.7 kB / 0.9719 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3632, allocations: 144.2 kB / 0.972 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.3633, allocations: 79.31 kB / 0.9721 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.3634, allocations: 65.64 kB / 0.9721 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3635, allocations: 326.8 kB / 0.9725 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.3636, allocations: 68.22 kB / 0.9725 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.3638, allocations: 163.6 kB / 0.9727 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.3642, allocations: 254 kB / 0.9729 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3642, allocations: 0 / 0.9729 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005449/0.3647, allocations: 293.5 kB / 0.9732 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3648, allocations: 4 kB / 0.9732 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3648, allocations: 11.94 kB / 0.9732 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3648, allocations: 4 kB / 0.9732 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.365, allocations: 47.92 kB / 0.9733 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.365, allocations: 4 kB / 0.9733 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3653, allocations: 31.78 kB / 0.9733 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.3653, allocations: 15.98 kB / 0.9733 GB, free: 8.156 MB / 0.7169 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.0001444/0.3655, allocations: 138.4 kB / 0.9735 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.3656, allocations: 35.78 kB / 0.9735 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.3661, allocations: 275.4 kB / 0.9737 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3661, allocations: 7.922 kB / 0.9738 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3661, allocations: 0 / 0.9738 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3661, allocations: 4 kB / 0.9738 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.3669, allocations: 0.5534 MB / 0.9743 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3669, allocations: 4 kB / 0.9743 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.3671, allocations: 27.92 kB / 0.9743 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3671, allocations: 4 kB / 0.9743 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3671, allocations: 0 / 0.9743 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3671, allocations: 8.062 kB / 0.9743 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3671, allocations: 0 / 0.9743 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.3677, allocations: 354.9 kB / 0.9747 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3678, allocations: 47.75 kB / 0.9747 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.3678, allocations: 4 kB / 0.9747 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3681, allocations: 8 kB / 0.9747 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3681, allocations: 15.97 kB / 0.9748 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3682, allocations: 12 kB / 0.9748 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001498/0.3683, allocations: 157.4 kB / 0.9749 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.3683, allocations: 0 / 0.9749 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005431/0.3688, allocations: 123.8 kB / 0.975 GB, free: 6.316 MB / 0.7169 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.001283/0.3701, allocations: 1.002 MB / 0.976 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.3705, allocations: 201.8 kB / 0.9762 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3705, allocations: 0 / 0.9762 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.3707, allocations: 95.88 kB / 0.9763 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.3713, allocations: 99.44 kB / 0.9764 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.3745, allocations: 2.528 MB / 0.9789 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.3746, allocations: 128.4 kB / 0.979 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.3749, allocations: 58.19 kB / 0.979 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.375, allocations: 59.42 kB / 0.9791 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.375, allocations: 0 / 0.9791 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4107/0.7857, allocations: 8.505 MB / 0.9874 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.81, allocations: 2.625 kB / 0.9874 GB, free: 149.3 MB / 0.7169 GB " [Timeout remaining time 648] (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: 16.01896382693667] Failed to read output from testmodel.py, exit status != 0: 11.976866704993881 11.991513575 11.634146678 Calling exit ...