Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001295/0.001295, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001316/0.001316, allocations: 191 kB / 17.2 MB, free: 5.613 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: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7799/0.7799, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1706/0.478, allocations: 171 MB / 0.7343 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005856/0.4839, allocations: 4.299 MB / 0.7385 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000516/0.4844, allocations: 23.88 kB / 0.7385 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008653/0.4853, allocations: 346 kB / 0.7389 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.4877, allocations: 1.237 MB / 0.7401 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.4894, allocations: 0.7876 MB / 0.7408 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.4912, allocations: 1.691 MB / 0.7425 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007135/0.4919, allocations: 0.5581 MB / 0.743 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009713/0.4929, allocations: 0.681 MB / 0.7437 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000965/0.4938, allocations: 0.5391 MB / 0.7442 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.494, allocations: 67.94 kB / 0.7443 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.4953, allocations: 0.799 MB / 0.7451 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.4956, allocations: 267.3 kB / 0.7453 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.496, allocations: 406.3 kB / 0.7457 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.4973, allocations: 1.262 MB / 0.7469 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4973, allocations: 0 / 0.7469 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4973, allocations: 0 / 0.7469 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.4973, allocations: 0 / 0.7469 GB, free: 2.238 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001614/0.499, allocations: 1.04 MB / 0.748 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.499, allocations: 8.625 kB / 0.748 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.4991, allocations: 102.5 kB / 0.7481 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009608/0.5001, allocations: 155.1 kB / 0.7482 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.5008, allocations: 0.5327 MB / 0.7487 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.5008, allocations: 41.31 kB / 0.7488 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.5009, allocations: 48 kB / 0.7488 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2369/0.7377, allocations: 0.6487 MB / 0.7494 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.7378, allocations: 1.375 kB / 0.7494 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.7379, allocations: 22.75 kB / 0.7495 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.7379, allocations: 23.53 kB / 0.7495 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.7391, allocations: 0.5141 MB / 0.75 GB, free: 172.9 MB / 0.5762 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.00383/0.743, allocations: 2.321 MB / 0.7523 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.7435, allocations: 260.3 kB / 0.7525 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.7438, allocations: 137.9 kB / 0.7526 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.7438, allocations: 4.266 kB / 0.7526 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.7438, allocations: 42.2 kB / 0.7527 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.7438, allocations: 0 / 0.7527 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001791/0.7456, allocations: 0.6704 MB / 0.7533 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.7457, allocations: 81.2 kB / 0.7534 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.7464, allocations: 0.5587 MB / 0.754 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.7465, allocations: 32.42 kB / 0.754 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.7467, allocations: 330.1 kB / 0.7543 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.7468, allocations: 77.61 kB / 0.7544 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.7469, allocations: 72.78 kB / 0.7545 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.747, allocations: 362.7 kB / 0.7548 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.7473, allocations: 131.5 kB / 0.7549 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.7476, allocations: 215.4 kB / 0.7551 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.7481, allocations: 333.8 kB / 0.7554 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.7481, allocations: 1.188 kB / 0.7554 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009874/0.7491, allocations: 0.4918 MB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.7492, allocations: 9.656 kB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7492, allocations: 2.219 kB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.7495, allocations: 97.33 kB / 0.756 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.7499, allocations: 69.31 kB / 0.7561 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.7525, allocations: 3.342 MB / 0.7594 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/0.753, allocations: 48.61 kB / 0.7594 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.7531, allocations: 18.42 kB / 0.7594 GB, free: 166.2 MB / 0.5762 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 (34): * 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: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.7533, allocations: 215.9 kB / 0.7596 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.7535, allocations: 60.72 kB / 0.7597 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.7536, allocations: 57.36 kB / 0.7597 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.7536, allocations: 3.656 kB / 0.7597 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.7536, allocations: 0 / 0.7597 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006437/0.7542, allocations: 0.5385 MB / 0.7603 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.7555, allocations: 0.909 MB / 0.7612 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7555, allocations: 5.375 kB / 0.7612 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.7558, allocations: 43.7 kB / 0.7612 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.756, allocations: 66.02 kB / 0.7613 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.756, allocations: 6.188 kB / 0.7613 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.7574, allocations: 1.825 MB / 0.7631 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.7574, allocations: 1.125 kB / 0.7631 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.758, allocations: 438.3 kB / 0.7635 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.7582, allocations: 170.7 kB / 0.7636 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.7583, allocations: 3.375 kB / 0.7636 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.7588, allocations: 27.52 kB / 0.7637 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.7589, allocations: 17.95 kB / 0.7637 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.7589, allocations: 17.78 kB / 0.7637 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000455/0.7594, allocations: 397.4 kB / 0.7641 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7594, allocations: 0.6875 kB / 0.7641 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006594/0.7601, allocations: 204.4 kB / 0.7643 GB, free: 162.7 MB / 0.5762 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009905/0.7611, allocations: 1.036 MB / 0.7653 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008742/0.7619, allocations: 0.5521 MB / 0.7658 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.762, allocations: 1.062 kB / 0.7658 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.7623, allocations: 260.1 kB / 0.7661 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.764, allocations: 365 kB / 0.7664 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.7696, allocations: 4.541 MB / 0.7709 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.77, allocations: 0.9035 MB / 0.7717 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005027/0.7705, allocations: 118.6 kB / 0.7719 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.7707, allocations: 195 kB / 0.772 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.7707, allocations: 0 / 0.772 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2529/1.024, allocations: 17.63 MB / 0.7893 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.62, allocations: 0 / 0.7893 GB, free: 146.4 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)