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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004545/0.004545, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 197.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002399/0.002399, allocations: 275.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9804/0.9804, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 96.06 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1539, allocations: 86.97 MB / 0.7659 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4452/0.5991, allocations: 149.1 MB / 0.9115 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.6034, allocations: 3.62 MB / 0.9151 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.6035, allocations: 3.938 kB / 0.9151 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.6039, allocations: 75.62 kB / 0.9151 GB, free: 10.31 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.6042, allocations: 123.2 kB / 0.9153 GB, free: 10.19 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.6063, allocations: 1.007 MB / 0.9162 GB, free: 9.184 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.6067, allocations: 323.7 kB / 0.9166 GB, free: 8.867 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.6067, allocations: 17.55 kB / 0.9166 GB, free: 8.852 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.6071, allocations: 198.9 kB / 0.9168 GB, free: 8.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.6073, allocations: 131.5 kB / 0.9169 GB, free: 8.531 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.6073, allocations: 12 kB / 0.9169 GB, free: 8.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.6092, allocations: 1.216 MB / 0.9181 GB, free: 7.301 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.6093, allocations: 67.84 kB / 0.9182 GB, free: 7.234 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.6095, allocations: 111.5 kB / 0.9183 GB, free: 7.125 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.6105, allocations: 0.6323 MB / 0.9189 GB, free: 6.496 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6105, allocations: 4 kB / 0.9189 GB, free: 6.492 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6105, allocations: 4 kB / 0.9189 GB, free: 6.488 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.6105, allocations: 0 / 0.9189 GB, free: 6.488 MB / 0.67 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.001103/0.6116, allocations: 0.5957 MB / 0.9195 GB, free: 5.844 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.6117, allocations: 11.97 kB / 0.9195 GB, free: 5.832 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.202e-05/0.6117, allocations: 62.66 kB / 0.9195 GB, free: 5.762 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.6129, allocations: 136.7 kB / 0.9197 GB, free: 5.629 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.6132, allocations: 224.1 kB / 0.9199 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.6132, allocations: 20.25 kB / 0.9199 GB, free: 5.352 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.6132, allocations: 16 kB / 0.9199 GB, free: 5.336 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.6138, allocations: 346.2 kB / 0.9202 GB, free: 4.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6138, allocations: 0 / 0.9202 GB, free: 4.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.6139, allocations: 12 kB / 0.9203 GB, free: 4.969 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.6139, allocations: 15.98 kB / 0.9203 GB, free: 4.953 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.6145, allocations: 320.1 kB / 0.9206 GB, free: 4.641 MB / 0.67 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.00163/0.6161, allocations: 1.106 MB / 0.9217 GB, free: 3.445 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.6166, allocations: 182.5 kB / 0.9218 GB, free: 3.258 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.6168, allocations: 88.8 kB / 0.9219 GB, free: 3.168 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.6174, allocations: 465.3 kB / 0.9224 GB, free: 2.621 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.6174, allocations: 42.5 kB / 0.9224 GB, free: 2.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.6174, allocations: 0 / 0.9224 GB, free: 2.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=21): time 0.0007732/0.6182, allocations: 260 kB / 0.9226 GB, free: 2.312 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.6183, allocations: 59.39 kB / 0.9227 GB, free: 2.242 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.6186, allocations: 207.2 kB / 0.9229 GB, free: 2.023 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.6186, allocations: 33.64 kB / 0.9229 GB, free: 1.984 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.6188, allocations: 148.2 kB / 0.9231 GB, free: 1.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.6189, allocations: 71.39 kB / 0.9231 GB, free: 1.766 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/0.619, allocations: 53.66 kB / 0.9232 GB, free: 1.707 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6191, allocations: 330.8 kB / 0.9235 GB, free: 1.375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.6193, allocations: 68.22 kB / 0.9236 GB, free: 1.309 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.6195, allocations: 161.3 kB / 0.9237 GB, free: 1.113 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.6198, allocations: 253.3 kB / 0.924 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6198, allocations: 0 / 0.924 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000529/0.6204, allocations: 281.2 kB / 0.9242 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6204, allocations: 6.25 kB / 0.9242 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6204, allocations: 8 kB / 0.9243 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.6204, allocations: 7.938 kB / 0.9243 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.6207, allocations: 55.91 kB / 0.9243 GB, free: 484 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.6207, allocations: 4 kB / 0.9243 GB, free: 480 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.6209, allocations: 35.73 kB / 0.9244 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.621, allocations: 15.94 kB / 0.9244 GB, free: 428 kB / 0.67 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.0001325/0.6211, allocations: 146.3 kB / 0.9245 GB, free: 272 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.6212, allocations: 27.89 kB / 0.9245 GB, free: 244 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.6218, allocations: 266.7 kB / 0.9248 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.6218, allocations: 8.609 kB / 0.9248 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6218, allocations: 0 / 0.9248 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6218, allocations: 4 kB / 0.9248 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.6226, allocations: 0.58 MB / 0.9254 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6226, allocations: 7.922 kB / 0.9254 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.6228, allocations: 36.67 kB / 0.9254 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6228, allocations: 4 kB / 0.9254 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.6228, allocations: 11.94 kB / 0.9254 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6228, allocations: 0 / 0.9254 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6228, allocations: 1.938 kB / 0.9254 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.6234, allocations: 352.8 kB / 0.9258 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6235, allocations: 120.9 kB / 0.9259 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.6236, allocations: 8 kB / 0.9259 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.6238, allocations: 15.97 kB / 0.9259 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.6238, allocations: 11.98 kB / 0.9259 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.6239, allocations: 12 kB / 0.9259 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001433/0.624, allocations: 152.3 kB / 0.9261 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.624, allocations: 0 / 0.9261 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004578/0.6245, allocations: 119.8 kB / 0.9262 GB, free: 14.45 MB / 0.6856 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.001151/0.6257, allocations: 0.9947 MB / 0.9272 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.6261, allocations: 205.8 kB / 0.9274 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6261, allocations: 4 kB / 0.9274 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.6262, allocations: 104.6 kB / 0.9275 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.6268, allocations: 101.8 kB / 0.9276 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.6299, allocations: 2.497 MB / 0.93 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.6303, allocations: 0.7367 MB / 0.9307 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.6305, allocations: 62.19 kB / 0.9308 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.6306, allocations: 55.42 kB / 0.9308 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of SimCode: time 2.91e-07/0.6307, allocations: 0 / 0.9308 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.6615, allocations: 7.754 MB / 0.9384 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.482, allocations: 10.03 kB / 0.9384 GB, free: 1.887 MB / 0.6856 GB (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)