Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_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.001243/0.001243, allocations: 108 kB / 15.61 MB, free: 152 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.001296/0.001296, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 275.2 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8458/0.8458, allocations: 169.2 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 91.97 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1352, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4151/0.5504, allocations: 171 MB / 0.8473 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005912/0.5563, allocations: 4.297 MB / 0.8515 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.5569, allocations: 22.09 kB / 0.8515 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009104/0.5578, allocations: 356.7 kB / 0.8519 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.5604, allocations: 1.227 MB / 0.8531 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.562, allocations: 0.7825 MB / 0.8538 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.5635, allocations: 1.692 MB / 0.8555 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006354/0.5642, allocations: 0.5592 MB / 0.856 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.5651, allocations: 0.6816 MB / 0.8567 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009644/0.5661, allocations: 0.5473 MB / 0.8572 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.722e-05/0.5662, allocations: 65.28 kB / 0.8573 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.5675, allocations: 0.802 MB / 0.8581 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.5678, allocations: 272.3 kB / 0.8583 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.5681, allocations: 410.6 kB / 0.8587 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.5695, allocations: 1.248 MB / 0.8599 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5696, allocations: 0 / 0.8599 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5696, allocations: 0 / 0.8599 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.5696, allocations: 4 kB / 0.86 GB, free: 6.668 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.001536/0.5711, allocations: 1.04 MB / 0.861 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5712, allocations: 9.688 kB / 0.861 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.5713, allocations: 101.8 kB / 0.8611 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.5722, allocations: 159.1 kB / 0.8612 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.5729, allocations: 0.5251 MB / 0.8617 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.5729, allocations: 43.91 kB / 0.8618 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.573, allocations: 53.45 kB / 0.8618 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009369/0.5739, allocations: 0.6483 MB / 0.8625 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.574, allocations: 1.906 kB / 0.8625 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/0.574, allocations: 22.06 kB / 0.8625 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.5741, allocations: 27.05 kB / 0.8625 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.5749, allocations: 0.5137 MB / 0.863 GB, free: 4.547 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.002818/0.5777, allocations: 2.317 MB / 0.8653 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.5782, allocations: 252.7 kB / 0.8655 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.5784, allocations: 133.7 kB / 0.8656 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.5785, allocations: 14.8 kB / 0.8657 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.5785, allocations: 36.97 kB / 0.8657 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.5785, allocations: 2.406 kB / 0.8657 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001474/0.58, allocations: 0.6702 MB / 0.8664 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.58, allocations: 79.8 kB / 0.8664 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.5806, allocations: 0.5586 MB / 0.867 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.5806, allocations: 32.11 kB / 0.867 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.5808, allocations: 332.7 kB / 0.8673 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.5809, allocations: 70.84 kB / 0.8674 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.581, allocations: 73.73 kB / 0.8675 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5811, allocations: 367.6 kB / 0.8678 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.5813, allocations: 132.4 kB / 0.8679 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.5816, allocations: 221 kB / 0.8681 GB, free: 464 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.5821, allocations: 335.5 kB / 0.8685 GB, free: 236 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5821, allocations: 3.938 kB / 0.8685 GB, free: 232 kB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008185/0.5829, allocations: 0.4915 MB / 0.8689 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.583, allocations: 9.625 kB / 0.869 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.583, allocations: 2.094 kB / 0.869 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000279/0.5832, allocations: 91.06 kB / 0.869 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.5836, allocations: 75.48 kB / 0.8691 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.5861, allocations: 3.341 MB / 0.8724 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.5865, allocations: 42.62 kB / 0.8724 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.5865, allocations: 14.06 kB / 0.8724 GB, free: 12.65 MB / 0.5919 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.0002108/0.5868, allocations: 219.8 kB / 0.8726 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.5869, allocations: 56.94 kB / 0.8727 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.587, allocations: 52.25 kB / 0.8727 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.587, allocations: 2.188 kB / 0.8728 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.587, allocations: 3.938 kB / 0.8728 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000642/0.5876, allocations: 0.539 MB / 0.8733 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5887, allocations: 0.9136 MB / 0.8742 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5887, allocations: 2.281 kB / 0.8742 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.5889, allocations: 42.69 kB / 0.8742 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.5891, allocations: 77.08 kB / 0.8743 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5891, allocations: 0 / 0.8743 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.5906, allocations: 1.824 MB / 0.8761 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5906, allocations: 3.984 kB / 0.8761 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.5912, allocations: 436.8 kB / 0.8765 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.5914, allocations: 166.7 kB / 0.8767 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.5914, allocations: 6.719 kB / 0.8767 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.5919, allocations: 16.2 kB / 0.8767 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.5919, allocations: 29.5 kB / 0.8767 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.592, allocations: 16.2 kB / 0.8767 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003802/0.5924, allocations: 399.9 kB / 0.8771 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.243e-06/0.5924, allocations: 0 / 0.8771 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000534/0.5929, allocations: 205.9 kB / 0.8773 GB, free: 8.707 MB / 0.5919 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.001002/0.5939, allocations: 1.041 MB / 0.8783 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007927/0.5947, allocations: 0.5427 MB / 0.8788 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5947, allocations: 3.75 kB / 0.8788 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.5951, allocations: 259.1 kB / 0.8791 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.5966, allocations: 368.2 kB / 0.8794 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.6018, allocations: 4.529 MB / 0.8839 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.6022, allocations: 0.9189 MB / 0.8848 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004288/0.6027, allocations: 105.2 kB / 0.8849 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.6029, allocations: 191.9 kB / 0.885 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of SimCode: time 4.6e-07/0.6029, allocations: 4 kB / 0.885 GB, free: 3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.671/4.274, allocations: 17.65 MB / 0.9023 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/15.08, allocations: 7.062 kB / 0.9023 GB, free: 3.176 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)