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.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 148 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.001154/0.001154, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.175/1.175, allocations: 205.1 MB / 222.4 MB, free: 4.547 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.584/1.584, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001419/0.001419, allocations: 77.3 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1851, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5123/0.6975, allocations: 171 MB / 0.9504 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006094/0.7037, allocations: 4.264 MB / 0.9546 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007443/0.7044, allocations: 21.31 kB / 0.9546 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.7054, allocations: 342.8 kB / 0.955 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.7075, allocations: 0.9967 MB / 0.9559 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.7095, allocations: 0.7982 MB / 0.9567 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.711, allocations: 1.283 MB / 0.958 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005927/0.7116, allocations: 492.6 kB / 0.9584 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.7126, allocations: 0.6668 MB / 0.9591 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008773/0.7135, allocations: 454.8 kB / 0.9595 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-05/0.7136, allocations: 52.31 kB / 0.9596 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.7152, allocations: 0.9145 MB / 0.9605 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.7154, allocations: 207.4 kB / 0.9607 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.7158, allocations: 329.9 kB / 0.961 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.7171, allocations: 1.124 MB / 0.9621 GB, free: 76 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7171, allocations: 1.031 kB / 0.9621 GB, free: 76 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7171, allocations: 0 / 0.9621 GB, free: 76 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.7171, allocations: 0 / 0.9621 GB, free: 76 kB / 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.001583/0.7187, allocations: 0.9518 MB / 0.963 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7188, allocations: 13.34 kB / 0.963 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.95e-05/0.7189, allocations: 82.38 kB / 0.9631 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.7205, allocations: 260.6 kB / 0.9633 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.7214, allocations: 488.2 kB / 0.9638 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.7217, allocations: 85.19 kB / 0.9639 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.7218, allocations: 40.72 kB / 0.9639 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.723, allocations: 0.6231 MB / 0.9645 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.723, allocations: 3.938 kB / 0.9645 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.7231, allocations: 22.36 kB / 0.9646 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.7231, allocations: 20.81 kB / 0.9646 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.7246, allocations: 0.5579 MB / 0.9651 GB, free: 14.98 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.003883/0.7285, allocations: 2.284 MB / 0.9674 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.7295, allocations: 294.8 kB / 0.9676 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.7301, allocations: 180.8 kB / 0.9678 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.7301, allocations: 1.031 kB / 0.9678 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7302, allocations: 44.03 kB / 0.9679 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.7302, allocations: 0 / 0.9679 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005368/0.7356, allocations: 1.105 MB / 0.9689 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.7356, allocations: 90.22 kB / 0.969 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.7362, allocations: 0.5429 MB / 0.9695 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.7362, allocations: 30.98 kB / 0.9696 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.7364, allocations: 299.9 kB / 0.9699 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.7365, allocations: 44.53 kB / 0.9699 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.7366, allocations: 61 kB / 0.97 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7367, allocations: 356.1 kB / 0.9703 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.7374, allocations: 193.5 kB / 0.9705 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.7381, allocations: 286.1 kB / 0.9708 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.7393, allocations: 417.5 kB / 0.9712 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7393, allocations: 5.344 kB / 0.9712 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002769/0.7421, allocations: 0.7393 MB / 0.9719 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7421, allocations: 6.219 kB / 0.9719 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7421, allocations: 2.344 kB / 0.9719 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.7427, allocations: 188.8 kB / 0.9721 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.7431, allocations: 66.8 kB / 0.9721 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/0.7469, allocations: 2.236 MB / 0.9743 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.7477, allocations: 80.89 kB / 0.9744 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.7477, allocations: 11.38 kB / 0.9744 GB, free: 10.89 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002857/0.748, allocations: 196.5 kB / 0.9746 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.7481, allocations: 53.5 kB / 0.9746 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.7482, allocations: 53.36 kB / 0.9747 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.7482, allocations: 2.625 kB / 0.9747 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.7482, allocations: 0 / 0.9747 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7482, allocations: 0 / 0.9747 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/0.7514, allocations: 1.141 MB / 0.9758 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.7514, allocations: 0 / 0.9758 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.7517, allocations: 37.83 kB / 0.9758 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/0.7522, allocations: 181.8 kB / 0.976 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.7522, allocations: 10.61 kB / 0.976 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003522/0.7558, allocations: 2.188 MB / 0.9782 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7558, allocations: 0 / 0.9782 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.7584, allocations: 0.7192 MB / 0.9789 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.7587, allocations: 169.6 kB / 0.979 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.7587, allocations: 5.562 kB / 0.979 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.7594, allocations: 54.98 kB / 0.9791 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.7594, allocations: 13.33 kB / 0.9791 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.7595, allocations: 15.8 kB / 0.9791 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000425/0.7599, allocations: 393.7 kB / 0.9795 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7599, allocations: 0 / 0.9795 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006411/0.7606, allocations: 184.9 kB / 0.9797 GB, free: 7.129 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003183/0.7638, allocations: 1.326 MB / 0.981 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.7655, allocations: 0.542 MB / 0.9815 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7655, allocations: 0 / 0.9815 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.7662, allocations: 304.1 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7677, allocations: 312.4 kB / 0.9821 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.7792, allocations: 5.173 MB / 0.9871 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.7797, allocations: 0.8589 MB / 0.988 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000495/0.7802, allocations: 106 kB / 0.9881 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.7804, allocations: 163.4 kB / 0.9882 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7804, allocations: 0 / 0.9882 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09497/0.8754, allocations: 16.75 MB / 1.005 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.26, allocations: 6.562 kB / 1.005 GB, free: 8.988 MB / 0.7481 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/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)