Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_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.0008353/0.0008354, allocations: 92.95 kB / 16.02 MB, free: 84 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.0008873/0.0008874, allocations: 178.5 kB / 16.91 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.3 MB / 241 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6717/0.6717, allocations: 115.5 MB / 407.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 12.83 kB / 495.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1286, allocations: 77.53 MB / 0.56 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4313/0.56, allocations: 166.5 MB / 0.7226 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006272/0.5663, allocations: 4.29 MB / 0.7268 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007323/0.5671, allocations: 15.88 kB / 0.7268 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5681, allocations: 306.5 kB / 0.7271 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.5706, allocations: 0.9414 MB / 0.7281 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.5727, allocations: 0.732 MB / 0.7288 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.5748, allocations: 1.793 MB / 0.7305 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.5756, allocations: 402.2 kB / 0.7309 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.5769, allocations: 0.5835 MB / 0.7315 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.5782, allocations: 447 kB / 0.7319 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.5783, allocations: 24 kB / 0.7319 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.58, allocations: 1.005 MB / 0.7329 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.5803, allocations: 183.4 kB / 0.7331 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.5808, allocations: 320.2 kB / 0.7334 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.5823, allocations: 1.129 MB / 0.7345 GB, free: 4.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5823, allocations: 0 / 0.7345 GB, free: 4.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5823, allocations: 0 / 0.7345 GB, free: 4.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.281e-05/0.5824, allocations: 0 / 0.7345 GB, free: 4.156 MB / 0.545 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.001634/0.584, allocations: 0.8383 MB / 0.7353 GB, free: 3.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.584, allocations: 12.03 kB / 0.7353 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.5842, allocations: 86.52 kB / 0.7354 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.5859, allocations: 291 kB / 0.7357 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008507/0.5868, allocations: 481.4 kB / 0.7361 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.5871, allocations: 100.9 kB / 0.7362 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.68e-05/0.5872, allocations: 40 kB / 0.7363 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.5886, allocations: 0.6341 MB / 0.7369 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5886, allocations: 4 kB / 0.7369 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.5887, allocations: 27.98 kB / 0.7369 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.5887, allocations: 17 kB / 0.7369 GB, free: 1.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.5902, allocations: 0.5933 MB / 0.7375 GB, free: 0.9297 MB / 0.545 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.004059/0.5943, allocations: 2.292 MB / 0.7398 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.5954, allocations: 318.3 kB / 0.7401 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.596, allocations: 196.6 kB / 0.7402 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.596, allocations: 0 / 0.7402 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.596, allocations: 34.56 kB / 0.7403 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.596, allocations: 7.938 kB / 0.7403 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.005381/0.6014, allocations: 1.186 MB / 0.7414 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.6015, allocations: 77.11 kB / 0.7415 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.6021, allocations: 0.5534 MB / 0.7421 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.6022, allocations: 29.7 kB / 0.7421 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.6024, allocations: 303.4 kB / 0.7424 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.6024, allocations: 43.45 kB / 0.7424 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.6025, allocations: 29.7 kB / 0.7424 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6026, allocations: 350.8 kB / 0.7428 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.6033, allocations: 212.3 kB / 0.743 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/0.604, allocations: 289.8 kB / 0.7433 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.6053, allocations: 452.2 kB / 0.7437 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6053, allocations: 4 kB / 0.7437 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002772/0.6081, allocations: 0.7802 MB / 0.7445 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6081, allocations: 6.188 kB / 0.7445 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.6081, allocations: 7.984 kB / 0.7445 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.6087, allocations: 192.8 kB / 0.7447 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.6091, allocations: 83.88 kB / 0.7447 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.6129, allocations: 2.105 MB / 0.7468 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.6136, allocations: 99.31 kB / 0.7469 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.6136, allocations: 12 kB / 0.7469 GB, free: 6.883 MB / 0.5606 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.0002223/0.6138, allocations: 183.3 kB / 0.7471 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6139, allocations: 55.44 kB / 0.7471 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.6141, allocations: 52.03 kB / 0.7472 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.6141, allocations: 3.938 kB / 0.7472 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6141, allocations: 7.938 kB / 0.7472 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6141, allocations: 0 / 0.7472 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.6173, allocations: 1.184 MB / 0.7483 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6173, allocations: 4.094 kB / 0.7483 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.6176, allocations: 51.95 kB / 0.7484 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/0.6181, allocations: 188.8 kB / 0.7486 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.6181, allocations: 8 kB / 0.7486 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.6215, allocations: 2.065 MB / 0.7506 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6216, allocations: 4.031 kB / 0.7506 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.6242, allocations: 0.762 MB / 0.7513 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.6245, allocations: 164.5 kB / 0.7515 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.6245, allocations: 0 / 0.7515 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.6252, allocations: 76.77 kB / 0.7516 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.6252, allocations: 15.92 kB / 0.7516 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.6253, allocations: 15.98 kB / 0.7516 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004366/0.6257, allocations: 390.8 kB / 0.752 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6258, allocations: 0 / 0.752 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000687/0.6264, allocations: 187.8 kB / 0.7522 GB, free: 1.242 MB / 0.5606 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.003251/0.6297, allocations: 1.368 MB / 0.7535 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.6314, allocations: 0.5575 MB / 0.754 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6315, allocations: 4 kB / 0.754 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.6323, allocations: 319 kB / 0.7543 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.634, allocations: 301 kB / 0.7546 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.6462, allocations: 5.472 MB / 0.76 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.6467, allocations: 0.8699 MB / 0.7608 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005014/0.6472, allocations: 100.5 kB / 0.7609 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.6474, allocations: 159.4 kB / 0.7611 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.6474, allocations: 4 kB / 0.7611 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.6809, allocations: 15.9 MB / 0.7766 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.6812, allocations: 292.6 kB / 0.7769 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.693, allocations: 4 kB / 0.7769 GB, free: 7.98 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)