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.0006094/0.0006094, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007159/0.0007159, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8673/0.8673, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001642/0.001642, allocations: 234.2 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.6643/0.6643, allocations: 138.4 MB / 454.3 MB, free: 29.92 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.482e-06/1.482e-06, allocations: 3.938 kB / 0.6463 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.205e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.3501/0.3501, allocations: 131.1 MB / 0.7743 GB, free: 8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.3525, allocations: 3.292 MB / 0.7775 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.3525, allocations: 4 kB / 0.7776 GB, free: 4.691 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3528, allocations: 63.59 kB / 0.7776 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.353, allocations: 143 kB / 0.7777 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.3543, allocations: 1.071 MB / 0.7788 GB, free: 3.414 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.3548, allocations: 335.4 kB / 0.7791 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.3549, allocations: 17.8 kB / 0.7791 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.3552, allocations: 243.8 kB / 0.7794 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3553, allocations: 127.6 kB / 0.7795 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3553, allocations: 8 kB / 0.7795 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009772/0.3563, allocations: 1.071 MB / 0.7805 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.3564, allocations: 71.78 kB / 0.7806 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.3565, allocations: 79.83 kB / 0.7807 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.3571, allocations: 0.6778 MB / 0.7813 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3571, allocations: 0.5625 kB / 0.7813 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3571, allocations: 0 / 0.7813 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3571, allocations: 4 kB / 0.7813 GB, free: 0.7891 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.0007916/0.3579, allocations: 0.5175 MB / 0.7819 GB, free: 252 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3579, allocations: 9.938 kB / 0.7819 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.358, allocations: 58.73 kB / 0.7819 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.3585, allocations: 136.5 kB / 0.7821 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3587, allocations: 165.5 kB / 0.7822 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3587, allocations: 20.73 kB / 0.7822 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3588, allocations: 20.12 kB / 0.7822 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.3594, allocations: 0.5857 MB / 0.7828 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3594, allocations: 3.938 kB / 0.7828 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3594, allocations: 12 kB / 0.7828 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.3595, allocations: 15.98 kB / 0.7829 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.3599, allocations: 324.9 kB / 0.7832 GB, free: 14.8 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.001152/0.361, allocations: 0.9451 MB / 0.7841 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.3613, allocations: 179.2 kB / 0.7843 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.3614, allocations: 76.81 kB / 0.7843 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.3617, allocations: 71.94 kB / 0.7844 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3617, allocations: 46.48 kB / 0.7844 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.3617, allocations: 0 / 0.7844 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0004727/0.3622, allocations: 261.8 kB / 0.7847 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3622, allocations: 59.34 kB / 0.7847 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3623, allocations: 211.1 kB / 0.7849 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3624, allocations: 33.7 kB / 0.785 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.3624, allocations: 144.2 kB / 0.7851 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.3625, allocations: 71.39 kB / 0.7852 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.3625, allocations: 54.98 kB / 0.7852 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.3626, allocations: 334.8 kB / 0.7856 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.3627, allocations: 72.22 kB / 0.7856 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3628, allocations: 160.1 kB / 0.7858 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.363, allocations: 240.7 kB / 0.786 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.363, allocations: 4.109 kB / 0.786 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003216/0.3633, allocations: 295.4 kB / 0.7863 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3633, allocations: 4.375 kB / 0.7863 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3633, allocations: 8 kB / 0.7863 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3634, allocations: 4 kB / 0.7863 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3635, allocations: 51.91 kB / 0.7864 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3635, allocations: 7.938 kB / 0.7864 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3636, allocations: 31.73 kB / 0.7864 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3636, allocations: 16 kB / 0.7864 GB, free: 11.27 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 8.702e-05/0.3637, allocations: 141.6 kB / 0.7865 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.3638, allocations: 23.91 kB / 0.7866 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.3641, allocations: 280.7 kB / 0.7868 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3641, allocations: 4 kB / 0.7868 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3641, allocations: 3.156 kB / 0.7868 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3641, allocations: 7.922 kB / 0.7869 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.3646, allocations: 0.541 MB / 0.7874 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3646, allocations: 0 / 0.7874 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-05/0.3647, allocations: 35.92 kB / 0.7874 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3647, allocations: 3.938 kB / 0.7874 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3647, allocations: 4 kB / 0.7874 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3647, allocations: 0 / 0.7874 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3647, allocations: 4 kB / 0.7874 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.365, allocations: 358.8 kB / 0.7878 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.3651, allocations: 42.08 kB / 0.7878 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3651, allocations: 7.938 kB / 0.7878 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3652, allocations: 15.98 kB / 0.7878 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.3653, allocations: 11.92 kB / 0.7878 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.3653, allocations: 19.98 kB / 0.7879 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.747e-05/0.3654, allocations: 149.4 kB / 0.788 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3654, allocations: 4 kB / 0.788 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003718/0.3657, allocations: 115.8 kB / 0.7881 GB, free: 9.445 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.0008212/0.3666, allocations: 1.022 MB / 0.7891 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.3669, allocations: 203.8 kB / 0.7893 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3669, allocations: 4 kB / 0.7893 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.367, allocations: 91.88 kB / 0.7894 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3674, allocations: 95.47 kB / 0.7895 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.3694, allocations: 2.477 MB / 0.7919 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.637e-05/0.3695, allocations: 132.4 kB / 0.792 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.3697, allocations: 65.31 kB / 0.7921 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.3698, allocations: 52.48 kB / 0.7922 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of SimCode: time 1.252e-06/0.3698, allocations: 0 / 0.7922 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.3902, allocations: 8.924 MB / 0.8009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.508/6.898, allocations: 2.344 kB / 0.8009 GB, free: 12.52 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 & 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: 9.543664647266269] Failed to read output from testmodel.py, exit status != 0: 6.9778838055208325 6.985784177 6.626893413 Calling exit ...