Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_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.001116/0.001115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 192.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 222.4 MB, free: 4.438 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.3 MB / 0.5489 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 74 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2884, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.637/0.9254, allocations: 149.1 MB / 0.929 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007645/0.9331, allocations: 7.06 MB / 0.9359 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.9334, allocations: 3 kB / 0.9359 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.9339, allocations: 72.44 kB / 0.936 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.9344, allocations: 121.9 kB / 0.9361 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.9374, allocations: 0.9943 MB / 0.9371 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000411/0.9378, allocations: 317.9 kB / 0.9374 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.9379, allocations: 16.92 kB / 0.9374 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.9383, allocations: 184.5 kB / 0.9376 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.9385, allocations: 129.8 kB / 0.9377 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.9386, allocations: 13.44 kB / 0.9377 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.9411, allocations: 1.197 MB / 0.9389 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.9412, allocations: 66.14 kB / 0.939 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.9414, allocations: 107.4 kB / 0.9391 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.9429, allocations: 0.6174 MB / 0.9397 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9429, allocations: 0.5 kB / 0.9397 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.943, allocations: 4 kB / 0.9397 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.423e-06/0.943, allocations: 0.8438 kB / 0.9397 GB, free: 2.02 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.002038/0.945, allocations: 0.5875 MB / 0.9402 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.9451, allocations: 9.375 kB / 0.9403 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.632e-05/0.9452, allocations: 56.53 kB / 0.9403 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.9469, allocations: 138.5 kB / 0.9404 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.9473, allocations: 217.6 kB / 0.9407 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.9473, allocations: 18.19 kB / 0.9407 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.9474, allocations: 16.12 kB / 0.9407 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.9483, allocations: 343.5 kB / 0.941 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.9483, allocations: 1.203 kB / 0.941 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.9483, allocations: 12.03 kB / 0.941 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.9484, allocations: 18.5 kB / 0.941 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.949, allocations: 326 kB / 0.9414 GB, free: 17.21 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.001899/0.9509, allocations: 1.107 MB / 0.9424 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.9515, allocations: 194.5 kB / 0.9426 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.9516, allocations: 80.64 kB / 0.9427 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/0.9523, allocations: 460 kB / 0.9431 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.9523, allocations: 38.42 kB / 0.9432 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.9523, allocations: 4 kB / 0.9432 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0007193/0.953, allocations: 260.8 kB / 0.9434 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.9531, allocations: 59.33 kB / 0.9435 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.9533, allocations: 194.5 kB / 0.9437 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.9534, allocations: 35.05 kB / 0.9437 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.9535, allocations: 145.8 kB / 0.9438 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.9535, allocations: 75.75 kB / 0.9439 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/0.9536, allocations: 56.33 kB / 0.944 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9537, allocations: 329.9 kB / 0.9443 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.9539, allocations: 72.53 kB / 0.9443 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.9541, allocations: 155.6 kB / 0.9445 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.9544, allocations: 251 kB / 0.9447 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9544, allocations: 1.219 kB / 0.9447 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006276/0.955, allocations: 282 kB / 0.945 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.9551, allocations: 6.406 kB / 0.945 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.9551, allocations: 3.312 kB / 0.945 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.9551, allocations: 8.406 kB / 0.945 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.9554, allocations: 61.5 kB / 0.9451 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.9555, allocations: 7.969 kB / 0.9451 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.9557, allocations: 30.31 kB / 0.9451 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.9558, allocations: 10.69 kB / 0.9451 GB, free: 14.83 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.0001601/0.9559, allocations: 138.6 kB / 0.9453 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.9561, allocations: 25.72 kB / 0.9453 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.9567, allocations: 275.6 kB / 0.9455 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.9567, allocations: 6.625 kB / 0.9456 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9567, allocations: 3.938 kB / 0.9456 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9567, allocations: 3.016 kB / 0.9456 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.9577, allocations: 0.5909 MB / 0.9461 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.9577, allocations: 1.5 kB / 0.9461 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.9579, allocations: 30.53 kB / 0.9462 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.9579, allocations: 5.734 kB / 0.9462 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.9579, allocations: 5.125 kB / 0.9462 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.958, allocations: 1.75 kB / 0.9462 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.958, allocations: 2.219 kB / 0.9462 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.9586, allocations: 353 kB / 0.9465 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.9588, allocations: 118.9 kB / 0.9466 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.9588, allocations: 4.719 kB / 0.9466 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.9591, allocations: 9.844 kB / 0.9466 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.9591, allocations: 10.5 kB / 0.9467 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.9591, allocations: 21.41 kB / 0.9467 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001467/0.9593, allocations: 150.6 kB / 0.9468 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9593, allocations: 0 / 0.9468 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006206/0.9599, allocations: 109.9 kB / 0.9469 GB, free: 13.94 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.001287/0.9612, allocations: 0.995 MB / 0.9479 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.9617, allocations: 215.5 kB / 0.9481 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9617, allocations: 5.188 kB / 0.9481 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.9618, allocations: 110.2 kB / 0.9482 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.9625, allocations: 91.72 kB / 0.9483 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.9659, allocations: 2.483 MB / 0.9507 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.9663, allocations: 0.7368 MB / 0.9514 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003878/0.9667, allocations: 62.25 kB / 0.9515 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.9668, allocations: 57.2 kB / 0.9516 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.9668, allocations: 0 / 0.9516 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.9948, allocations: 7.558 MB / 0.9589 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.726, allocations: 14.98 kB / 0.959 GB, free: 10.09 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)