Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 182.2 kB / 325.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.321/2.321, allocations: 205.4 MB / 0.5764 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 102.2 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006906/0.0006908, allocations: 17.16 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2298, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.289/7.519, allocations: 2.211 GB / 3.11 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/7.52, allocations: 90.3 kB / 3.11 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.338/13.86, allocations: 1.244 GB / 4.355 GB, free: 61.07 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.156e-06/13.86, allocations: 0 / 4.355 GB, free: 61.07 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001546/13.86, allocations: 43.98 kB / 4.355 GB, free: 61.03 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007827/13.87, allocations: 2.055 MB / 4.357 GB, free: 58.92 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/13.87, allocations: 12.03 kB / 4.357 GB, free: 58.91 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008892/13.87, allocations: 198.2 kB / 4.357 GB, free: 58.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003391/13.87, allocations: 373.6 kB / 4.357 GB, free: 58.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/13.87, allocations: 1.132 MB / 4.358 GB, free: 57.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/13.87, allocations: 106.6 kB / 4.358 GB, free: 57.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/13.88, allocations: 136 kB / 4.359 GB, free: 56.92 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004004/13.88, allocations: 1.533 MB / 4.36 GB, free: 55.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/13.88, allocations: 0 / 4.36 GB, free: 55.32 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/13.88, allocations: 55.98 kB / 4.36 GB, free: 55.26 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.428e-05/13.88, allocations: 50.47 kB / 4.36 GB, free: 55.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/13.88, allocations: 1.235 MB / 4.361 GB, free: 53.97 MB / 0.8855 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.01261/13.9, allocations: 6.559 MB / 4.368 GB, free: 46.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/13.9, allocations: 0.7484 MB / 4.368 GB, free: 46.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009485/13.9, allocations: 413.5 kB / 4.369 GB, free: 45.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/13.9, allocations: 43.16 kB / 4.369 GB, free: 45.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.506e-06/13.9, allocations: 4 kB / 4.369 GB, free: 45.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.004637/13.9, allocations: 1.503 MB / 4.37 GB, free: 44.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/13.9, allocations: 56.06 kB / 4.37 GB, free: 44.03 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/13.91, allocations: 1.103 MB / 4.371 GB, free: 42.92 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003115/13.91, allocations: 41.7 kB / 4.372 GB, free: 42.87 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/13.91, allocations: 0.6952 MB / 4.372 GB, free: 42.17 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/13.91, allocations: 264.2 kB / 4.372 GB, free: 41.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/13.91, allocations: 20 kB / 4.372 GB, free: 41.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001022/13.91, allocations: 349.9 kB / 4.373 GB, free: 41.54 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008559/13.91, allocations: 338.9 kB / 4.373 GB, free: 41.21 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/13.91, allocations: 0.7006 MB / 4.374 GB, free: 40.35 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/13.91, allocations: 467 kB / 4.374 GB, free: 39.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/13.91, allocations: 0 / 4.374 GB, free: 39.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003467/13.91, allocations: 1.235 MB / 4.375 GB, free: 38.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/13.91, allocations: 8.844 kB / 4.375 GB, free: 38.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/13.91, allocations: 8 kB / 4.375 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/13.91, allocations: 130.5 kB / 4.376 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/13.92, allocations: 199.7 kB / 4.376 GB, free: 38.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/13.92, allocations: 4.832 MB / 4.381 GB, free: 33.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/13.92, allocations: 182.6 kB / 4.381 GB, free: 32.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/13.92, allocations: 48 kB / 4.381 GB, free: 32.82 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001399/13.93, allocations: 425.8 kB / 4.381 GB, free: 32.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/13.93, allocations: 150.2 kB / 4.381 GB, free: 32.25 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/13.93, allocations: 1.037 MB / 4.382 GB, free: 31.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/13.93, allocations: 8.469 kB / 4.382 GB, free: 31.18 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/13.93, allocations: 0 / 4.382 GB, free: 31.18 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001814/13.93, allocations: 0.9114 MB / 4.383 GB, free: 30.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/13.94, allocations: 2.376 MB / 4.386 GB, free: 27.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/13.94, allocations: 4 kB / 4.386 GB, free: 27.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/13.94, allocations: 127.9 kB / 4.386 GB, free: 27.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/13.94, allocations: 130.4 kB / 4.386 GB, free: 27.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/13.94, allocations: 19.95 kB / 4.386 GB, free: 27.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004983/13.95, allocations: 4.82 MB / 4.39 GB, free: 22.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/13.95, allocations: 7.984 kB / 4.391 GB, free: 22.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/13.95, allocations: 1.634 MB / 4.392 GB, free: 20.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/13.95, allocations: 323.2 kB / 4.392 GB, free: 20.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004872/13.95, allocations: 15.98 kB / 4.392 GB, free: 20.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/13.95, allocations: 75.73 kB / 4.392 GB, free: 20.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/13.95, allocations: 60.38 kB / 4.393 GB, free: 19.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-05/13.95, allocations: 31.98 kB / 4.393 GB, free: 19.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001957/13.96, allocations: 0.8583 MB / 4.393 GB, free: 19.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.12e-07/13.96, allocations: 4 kB / 4.393 GB, free: 19.06 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00366/13.96, allocations: 0.6749 MB / 4.394 GB, free: 18.39 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008348/13.97, allocations: 5.168 MB / 4.399 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002975/13.97, allocations: 1.183 MB / 4.4 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/13.97, allocations: 4 kB / 4.4 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/13.97, allocations: 0.7235 MB / 4.401 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007044/13.98, allocations: 0.8368 MB / 4.402 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/14, allocations: 14.57 MB / 4.416 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/14.01, allocations: 1.378 MB / 4.417 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002613/14.01, allocations: 348.5 kB / 4.418 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/14.01, allocations: 0.5344 MB / 4.418 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of SimCode: time 1.042e-06/14.01, allocations: 0 / 4.418 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9752/14.98, allocations: 76.71 MB / 4.493 GB, free: 120.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/14.98, allocations: 232.4 kB / 4.493 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.841/20.83, allocations: 3.75 kB / 4.493 GB, free: 120.4 MB / 0.9011 GB