Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example2.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example2",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.001226/0.001226, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001507/0.001507, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 12 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7186, allocations: 142.3 MB / 0.9536 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02708/0.7457, allocations: 24.82 MB / 0.9778 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.7597, allocations: 8.658 MB / 0.9863 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.7615, allocations: 36.59 kB / 0.9863 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.7632, allocations: 0.5226 MB / 0.9868 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.7672, allocations: 1.363 MB / 0.9882 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.771, allocations: 1.328 MB / 0.9895 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00349/0.7745, allocations: 2.224 MB / 0.9916 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.7758, allocations: 1.008 MB / 0.9926 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.7776, allocations: 1.012 MB / 0.9936 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000871/0.7785, allocations: 0.7078 MB / 0.9943 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.7786, allocations: 52 kB / 0.9943 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.7805, allocations: 0.7295 MB / 0.9951 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.7809, allocations: 302.8 kB / 0.9953 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.7812, allocations: 316.9 kB / 0.9956 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.7831, allocations: 1.742 MB / 0.9973 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7831, allocations: 4 kB / 0.9973 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7831, allocations: 3.938 kB / 0.9974 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.221e-05/0.7832, allocations: 0 / 0.9974 GB, free: 3.258 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002866/0.786, allocations: 1.69 MB / 0.999 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.7861, allocations: 12.03 kB / 0.999 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.7863, allocations: 126.5 kB / 0.9991 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.7878, allocations: 345.8 kB / 0.9995 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.7904, allocations: 1.336 MB / 1.001 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.7905, allocations: 69.95 kB / 1.001 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.7907, allocations: 84 kB / 1.001 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.7925, allocations: 1.039 MB / 1.002 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.7925, allocations: 3.938 kB / 1.002 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.7926, allocations: 39.98 kB / 1.002 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.7926, allocations: 20 kB / 1.002 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.7946, allocations: 0.882 MB / 1.003 GB, free: 13.45 MB / 0.7637 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.006102/0.8007, allocations: 5.071 MB / 1.008 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.8021, allocations: 0.665 MB / 1.008 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002717/0.8049, allocations: 1.937 MB / 1.01 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008655/0.8058, allocations: 403 kB / 1.011 GB, free: 4.871 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003394/0.8061, allocations: 99.38 kB / 1.011 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.8061, allocations: 0 / 1.011 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44): time 0.003961/0.8101, allocations: 1.446 MB / 1.012 GB, free: 3.297 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.8101, allocations: 59.41 kB / 1.012 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.8117, allocations: 1.333 MB / 1.014 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.8118, allocations: 41.7 kB / 1.014 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.8123, allocations: 0.6373 MB / 1.014 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.8125, allocations: 157.8 kB / 1.014 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.8125, allocations: 11.98 kB / 1.014 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8126, allocations: 337.9 kB / 1.015 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/0.8134, allocations: 297.8 kB / 1.015 GB, free: 404 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009898/0.8144, allocations: 0.6519 MB / 1.016 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/0.8152, allocations: 406.2 kB / 1.016 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.8152, allocations: 4 kB / 1.016 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002629/0.8179, allocations: 1.18 MB / 1.017 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001157/0.819, allocations: 3.129 MB / 1.02 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.8191, allocations: 12 kB / 1.02 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000818/0.8199, allocations: 216.6 kB / 1.02 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.8206, allocations: 171.7 kB / 1.021 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008629/0.8214, allocations: 0.8682 MB / 1.021 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.8226, allocations: 106.3 kB / 1.022 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/0.8227, allocations: 39.98 kB / 1.022 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.8227, allocations: 4 kB / 1.022 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001817/0.8245, allocations: 0.922 MB / 1.023 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.8245, allocations: 8 kB / 1.023 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/0.8249, allocations: 145.3 kB / 1.023 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.8255, allocations: 155.7 kB / 1.023 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.8281, allocations: 2.376 MB / 1.025 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.8291, allocations: 104.6 kB / 1.025 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.8292, allocations: 39.92 kB / 1.025 GB, free: 5.316 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009579/0.8302, allocations: 476.7 kB / 1.026 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.8304, allocations: 134.4 kB / 1.026 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.8327, allocations: 1.002 MB / 1.027 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8327, allocations: 8 kB / 1.027 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.8327, allocations: 0 / 1.027 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001892/0.8346, allocations: 1.009 MB / 1.028 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.8381, allocations: 2.053 MB / 1.03 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.8381, allocations: 0 / 1.03 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.8387, allocations: 99.92 kB / 1.03 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003015/0.839, allocations: 148.7 kB / 1.03 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.839, allocations: 23.98 kB / 1.03 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006523/0.8397, allocations: 0.8097 MB / 1.031 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8397, allocations: 0 / 1.031 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.8424, allocations: 1.409 MB / 1.032 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004892/0.8429, allocations: 299.2 kB / 1.033 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.843, allocations: 15.95 kB / 1.033 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008045/0.8439, allocations: 91.97 kB / 1.033 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.844, allocations: 44.31 kB / 1.033 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.844, allocations: 19.98 kB / 1.033 GB, free: 13.42 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001143/0.8452, allocations: 0.9248 MB / 1.034 GB, free: 12.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8452, allocations: 0 / 1.034 GB, free: 12.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001977/0.8472, allocations: 0.6902 MB / 1.034 GB, free: 11.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003892/0.8511, allocations: 2.294 MB / 1.037 GB, free: 9.473 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003561/0.8546, allocations: 1.499 MB / 1.038 GB, free: 7.941 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.8547, allocations: 0 / 1.038 GB, free: 7.941 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009079/0.8556, allocations: 382.9 kB / 1.038 GB, free: 7.57 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.8584, allocations: 0.5849 MB / 1.039 GB, free: 6.992 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/0.8672, allocations: 8.996 MB / 1.048 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.8683, allocations: 1.299 MB / 1.049 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001383/0.8697, allocations: 314.5 kB / 1.049 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/0.8705, allocations: 0.4953 MB / 1.05 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of SimCode: time 1.283e-06/0.8705, allocations: 0 / 1.05 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06292/0.9334, allocations: 37.39 MB / 1.086 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.9338, allocations: 243.5 kB / 1.087 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.63, allocations: 0 / 1.087 GB, free: 6.445 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat does not exist to compare? outputFormat=mat