Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",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.001163/0.001163, allocations: 109.4 kB / 15.69 MB, free: 128 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.001059/0.001059, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.697/1.697, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002513/0.002513, allocations: 74.81 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2306, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6369/0.8675, allocations: 237.6 MB / 1.016 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02207/0.8897, allocations: 15.64 MB / 1.031 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.8925, allocations: 65 kB / 1.031 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.8956, allocations: 1.035 MB / 1.032 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007859/0.9035, allocations: 2.96 MB / 1.035 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.9076, allocations: 1.695 MB / 1.037 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004993/0.9126, allocations: 3.425 MB / 1.04 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.9144, allocations: 1.299 MB / 1.041 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/0.9206, allocations: 2.494 MB / 1.044 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.9228, allocations: 1.077 MB / 1.045 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.923, allocations: 118.5 kB / 1.045 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005521/0.9285, allocations: 3.096 MB / 1.048 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005507/0.9291, allocations: 478.4 kB / 1.048 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.9302, allocations: 0.812 MB / 1.049 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005483/0.9357, allocations: 2.976 MB / 1.052 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9358, allocations: 0 / 1.052 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9358, allocations: 0 / 1.052 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.321e-05/0.9358, allocations: 4 kB / 1.052 GB, free: 4.535 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003837/0.9397, allocations: 2.013 MB / 1.054 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9397, allocations: 8.031 kB / 1.054 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.9399, allocations: 156.2 kB / 1.054 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/0.9427, allocations: 0.4897 MB / 1.055 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.9452, allocations: 1.168 MB / 1.056 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.9453, allocations: 86.8 kB / 1.056 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.9455, allocations: 100 kB / 1.056 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.9479, allocations: 1.346 MB / 1.057 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.9479, allocations: 7.938 kB / 1.057 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.948, allocations: 47.98 kB / 1.057 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/0.9481, allocations: 41.98 kB / 1.057 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.9504, allocations: 1.054 MB / 1.058 GB, free: 13.79 MB / 0.7794 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.009137/0.9596, allocations: 7.392 MB / 1.066 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.9612, allocations: 0.5425 MB / 1.066 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006546/0.9619, allocations: 261.2 kB / 1.066 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004235/0.9623, allocations: 287.6 kB / 1.067 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.9623, allocations: 38.84 kB / 1.067 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/0.9624, allocations: 0 / 1.067 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002584/0.9649, allocations: 0.8317 MB / 1.067 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.965, allocations: 55.41 kB / 1.067 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.967, allocations: 1.395 MB / 1.069 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.964e-05/0.9672, allocations: 37.7 kB / 1.069 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/0.9677, allocations: 0.7025 MB / 1.07 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.9678, allocations: 122.3 kB / 1.07 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.9681, allocations: 166.4 kB / 1.07 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9682, allocations: 338 kB / 1.07 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008184/0.9691, allocations: 316.6 kB / 1.07 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.9702, allocations: 0.7112 MB / 1.071 GB, free: 15.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.972, allocations: 0.9444 MB / 1.072 GB, free: 14.71 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.972, allocations: 7.938 kB / 1.072 GB, free: 14.71 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00288/0.9749, allocations: 1.062 MB / 1.073 GB, free: 13.64 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.9749, allocations: 11.12 kB / 1.073 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.9749, allocations: 12 kB / 1.073 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.975, allocations: 16 kB / 1.073 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.9759, allocations: 211.9 kB / 1.073 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-05/0.9759, allocations: 23.92 kB / 1.073 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.9775, allocations: 194.5 kB / 1.074 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/0.9776, allocations: 47.98 kB / 1.074 GB, free: 13.13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001352/0.9789, allocations: 0.5688 MB / 1.074 GB, free: 12.56 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/0.98, allocations: 0.7151 MB / 1.075 GB, free: 11.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001706/0.9818, allocations: 0.942 MB / 1.076 GB, free: 10.55 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.642e-06/0.9818, allocations: 4 kB / 1.076 GB, free: 10.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002399/0.9842, allocations: 1.066 MB / 1.077 GB, free: 9.477 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9842, allocations: 8 kB / 1.077 GB, free: 9.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.9842, allocations: 16.12 kB / 1.077 GB, free: 9.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.9843, allocations: 16 kB / 1.077 GB, free: 9.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.9851, allocations: 203.7 kB / 1.077 GB, free: 9.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.9851, allocations: 27.86 kB / 1.077 GB, free: 9.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.9865, allocations: 138.4 kB / 1.077 GB, free: 9.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.9865, allocations: 47.98 kB / 1.077 GB, free: 9.031 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002953/0.9868, allocations: 235.9 kB / 1.077 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.9871, allocations: 142.2 kB / 1.078 GB, free: 8.652 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.9887, allocations: 0.6408 MB / 1.078 GB, free: 7.996 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.9888, allocations: 4 kB / 1.078 GB, free: 7.992 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9888, allocations: 0 / 1.078 GB, free: 7.992 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.9888, allocations: 0 / 1.078 GB, free: 7.992 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.9922, allocations: 1.882 MB / 1.08 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.9922, allocations: 4 kB / 1.08 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.9927, allocations: 96.02 kB / 1.08 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.9927, allocations: 4 kB / 1.08 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.9928, allocations: 12 kB / 1.08 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.485e-06/0.9928, allocations: 11.92 kB / 1.08 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9928, allocations: 4 kB / 1.08 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.9943, allocations: 0.8008 MB / 1.081 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.9948, allocations: 299.1 kB / 1.081 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.995, allocations: 12 kB / 1.081 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.996, allocations: 63.92 kB / 1.081 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.9961, allocations: 39.83 kB / 1.081 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.9962, allocations: 23.98 kB / 1.081 GB, free: 4.559 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001395/0.9976, allocations: 1.001 MB / 1.082 GB, free: 3.562 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9976, allocations: 3.938 kB / 1.082 GB, free: 3.559 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001828/0.9994, allocations: 0.5773 MB / 1.083 GB, free: 2.98 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002419/1.002, allocations: 1.521 MB / 1.084 GB, free: 1.395 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002924/1.005, allocations: 1.137 MB / 1.086 GB, free: 268 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.005, allocations: 4 kB / 1.086 GB, free: 264 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/1.005, allocations: 257.4 kB / 1.086 GB, free: 8 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.009, allocations: 0.7337 MB / 1.087 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/1.025, allocations: 9.833 MB / 1.096 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/1.026, allocations: 1.186 MB / 1.097 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001438/1.028, allocations: 391.8 kB / 1.098 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/1.028, allocations: 495.3 kB / 1.098 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of SimCode: time 7.12e-07/1.028, allocations: 4 kB / 1.098 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06565/1.094, allocations: 35.32 MB / 1.133 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.29, allocations: 10.92 kB / 1.133 GB, free: 15.94 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)