Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.0009297/0.0009295, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001088/0.001089, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.797/1.797, allocations: 292.6 MB / 0.5498 GB, free: 14.58 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.000555/0.000555, allocations: 14.97 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2748, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6865/0.9614, allocations: 143 MB / 0.9269 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006286/0.9677, allocations: 4.097 MB / 0.9309 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008471/0.9686, allocations: 19.28 kB / 0.9309 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.9696, allocations: 311.4 kB / 0.9312 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.9726, allocations: 0.9868 MB / 0.9322 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.9751, allocations: 0.7721 MB / 0.9329 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.9766, allocations: 0.7607 MB / 0.9337 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005931/0.9772, allocations: 355.3 kB / 0.934 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.9783, allocations: 0.5045 MB / 0.9345 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.9788, allocations: 302.9 kB / 0.9348 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.9789, allocations: 20.38 kB / 0.9348 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.9806, allocations: 0.6331 MB / 0.9354 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.9808, allocations: 163.3 kB / 0.9356 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.9811, allocations: 141.1 kB / 0.9357 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.9825, allocations: 0.792 MB / 0.9365 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9826, allocations: 0.5 kB / 0.9365 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9826, allocations: 0 / 0.9365 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.9826, allocations: 0.5 kB / 0.9365 GB, free: 5.457 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002094/0.9847, allocations: 0.8454 MB / 0.9373 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.9847, allocations: 9.469 kB / 0.9373 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.9849, allocations: 85.2 kB / 0.9374 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.9866, allocations: 285.6 kB / 0.9377 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/0.9876, allocations: 476.7 kB / 0.9381 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.9879, allocations: 94.83 kB / 0.9382 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.988, allocations: 46.94 kB / 0.9383 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.9895, allocations: 0.6328 MB / 0.9389 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.9895, allocations: 1.562 kB / 0.9389 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.9896, allocations: 25.05 kB / 0.9389 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.9896, allocations: 20.06 kB / 0.9389 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.9912, allocations: 0.5868 MB / 0.9395 GB, free: 20.41 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.004783/0.996, allocations: 2.302 MB / 0.9418 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.997, allocations: 312.4 kB / 0.9421 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.9971, allocations: 4.062 kB / 0.9421 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.9971, allocations: 37.81 kB / 0.9421 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.973e-06/0.9971, allocations: 0 / 0.9421 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005537/1.003, allocations: 1.182 MB / 0.9433 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.003, allocations: 78.3 kB / 0.9433 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008251/1.004, allocations: 0.5496 MB / 0.9439 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.861e-05/1.004, allocations: 31.67 kB / 0.9439 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/1.004, allocations: 301.4 kB / 0.9442 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/1.004, allocations: 39.47 kB / 0.9442 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/1.004, allocations: 7.062 kB / 0.9442 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.004, allocations: 357.2 kB / 0.9446 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/1.005, allocations: 210.8 kB / 0.9448 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/1.006, allocations: 292.4 kB / 0.945 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/1.006, allocations: 220.1 kB / 0.9453 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.006, allocations: 0 / 0.9453 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002811/1.009, allocations: 0.7778 MB / 0.946 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/1.009, allocations: 8.438 kB / 0.946 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.009, allocations: 2.75 kB / 0.946 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/1.01, allocations: 195.3 kB / 0.9462 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/1.01, allocations: 79.41 kB / 0.9463 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/1.015, allocations: 2.24 MB / 0.9485 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/1.016, allocations: 90.59 kB / 0.9486 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/1.016, allocations: 14.69 kB / 0.9486 GB, free: 16.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000385/1.016, allocations: 191.8 kB / 0.9488 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.016, allocations: 50.53 kB / 0.9488 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/1.016, allocations: 46.3 kB / 0.9489 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.016, allocations: 4.969 kB / 0.9489 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/1.016, allocations: 1.031 kB / 0.9489 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.016, allocations: 7.094 kB / 0.9489 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/1.02, allocations: 1.191 MB / 0.95 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.02, allocations: 1.156 kB / 0.95 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.02, allocations: 51.81 kB / 0.9501 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/1.02, allocations: 190.8 kB / 0.9503 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.02, allocations: 6.516 kB / 0.9503 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/1.024, allocations: 2.104 MB / 0.9523 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.024, allocations: 1.406 kB / 0.9523 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/1.027, allocations: 0.7729 MB / 0.9531 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/1.027, allocations: 178.7 kB / 0.9532 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/1.027, allocations: 7.5 kB / 0.9533 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/1.028, allocations: 68.09 kB / 0.9533 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/1.028, allocations: 12.34 kB / 0.9533 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.028, allocations: 13.34 kB / 0.9533 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004912/1.028, allocations: 388.2 kB / 0.9537 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.028, allocations: 0 / 0.9537 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008002/1.029, allocations: 181 kB / 0.9539 GB, free: 14.43 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003206/1.032, allocations: 1.538 MB / 0.9554 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00218/1.035, allocations: 0.6541 MB / 0.956 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.035, allocations: 1.469 kB / 0.956 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/1.035, allocations: 320.2 kB / 0.9563 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.037, allocations: 284.1 kB / 0.9566 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008865/1.046, allocations: 4.881 MB / 0.9614 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/1.046, allocations: 0.8705 MB / 0.9622 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005566/1.047, allocations: 105.1 kB / 0.9623 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/1.047, allocations: 164.6 kB / 0.9625 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of SimCode: time 1.333e-06/1.047, allocations: 0 / 0.9625 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/1.079, allocations: 15.94 MB / 0.9781 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/1.079, allocations: 276.3 kB / 0.9783 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.225, allocations: 7.25 kB / 0.9783 GB, free: 3.242 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: