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.001202/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001247/0.001247, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 275.2 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 92.25 kB / 0.5946 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1874, allocations: 86.99 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6061/0.7936, allocations: 168.8 MB / 0.8444 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007468/0.8011, allocations: 4.354 MB / 0.8486 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.8023, allocations: 19.62 kB / 0.8486 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.8035, allocations: 305.3 kB / 0.8489 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.8068, allocations: 1.149 MB / 0.8501 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.8089, allocations: 0.7147 MB / 0.8508 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002611/0.8115, allocations: 2.365 MB / 0.8531 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000667/0.8122, allocations: 499.9 kB / 0.8535 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.8133, allocations: 0.5845 MB / 0.8541 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.8145, allocations: 0.576 MB / 0.8547 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.8146, allocations: 31.56 kB / 0.8547 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.8164, allocations: 0.9158 MB / 0.8556 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.8167, allocations: 241.8 kB / 0.8558 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.8171, allocations: 373.7 kB / 0.8562 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.8186, allocations: 1.282 MB / 0.8574 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8186, allocations: 0 / 0.8574 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.82e-07/0.8186, allocations: 0 / 0.8574 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8186, allocations: 0 / 0.8574 GB, free: 8.684 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.001708/0.8204, allocations: 1.038 MB / 0.8585 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.8204, allocations: 7.719 kB / 0.8585 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.8205, allocations: 101 kB / 0.8586 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.8215, allocations: 165.1 kB / 0.8587 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/0.8223, allocations: 0.5214 MB / 0.8592 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.8223, allocations: 37.84 kB / 0.8593 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.8224, allocations: 51.06 kB / 0.8593 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.8234, allocations: 0.6553 MB / 0.8599 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.8235, allocations: 0 / 0.8599 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.8235, allocations: 22.09 kB / 0.86 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.8236, allocations: 31.53 kB / 0.86 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.8244, allocations: 0.5136 MB / 0.8605 GB, free: 6.562 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.003176/0.8276, allocations: 2.302 MB / 0.8627 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.8281, allocations: 253.3 kB / 0.863 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.8284, allocations: 136.4 kB / 0.8631 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.8284, allocations: 10.7 kB / 0.8631 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.8285, allocations: 40.64 kB / 0.8632 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.8285, allocations: 0 / 0.8632 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001696/0.8302, allocations: 0.6674 MB / 0.8638 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.8303, allocations: 79.64 kB / 0.8639 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.8309, allocations: 0.5589 MB / 0.8644 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.8309, allocations: 27.83 kB / 0.8645 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.8311, allocations: 332.9 kB / 0.8648 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.8312, allocations: 69.19 kB / 0.8649 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.8313, allocations: 73.81 kB / 0.8649 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8315, allocations: 367.2 kB / 0.8653 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.8317, allocations: 130 kB / 0.8654 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.832, allocations: 215.2 kB / 0.8656 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.8325, allocations: 337.3 kB / 0.8659 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8326, allocations: 3.938 kB / 0.8659 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008884/0.8335, allocations: 0.4906 MB / 0.8664 GB, free: 2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8335, allocations: 5.281 kB / 0.8664 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.8335, allocations: 2.406 kB / 0.8664 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.8338, allocations: 105.7 kB / 0.8665 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.8342, allocations: 70.59 kB / 0.8666 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.837, allocations: 3.111 MB / 0.8696 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.8375, allocations: 59.45 kB / 0.8697 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.8376, allocations: 14.12 kB / 0.8697 GB, free: 14.89 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.0002706/0.8378, allocations: 224.2 kB / 0.8699 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.8379, allocations: 58.97 kB / 0.87 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.669e-05/0.838, allocations: 49.58 kB / 0.87 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.8381, allocations: 6.891 kB / 0.87 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.8381, allocations: 0 / 0.87 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007066/0.8388, allocations: 0.5335 MB / 0.8705 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.84, allocations: 0.9174 MB / 0.8714 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.84, allocations: 0 / 0.8714 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.8403, allocations: 36.2 kB / 0.8715 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001997/0.8405, allocations: 73.3 kB / 0.8715 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.8405, allocations: 11.88 kB / 0.8715 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.8421, allocations: 1.686 MB / 0.8732 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8421, allocations: 3.938 kB / 0.8732 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.8427, allocations: 447.2 kB / 0.8736 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.8429, allocations: 161.1 kB / 0.8738 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.843, allocations: 7.984 kB / 0.8738 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.8435, allocations: 35.41 kB / 0.8738 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.8436, allocations: 19.62 kB / 0.8738 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.8436, allocations: 18.17 kB / 0.8739 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000412/0.844, allocations: 404.9 kB / 0.8742 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.844, allocations: 0 / 0.8742 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006542/0.8447, allocations: 201.4 kB / 0.8744 GB, free: 11.07 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.001085/0.8458, allocations: 1.034 MB / 0.8754 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008366/0.8466, allocations: 0.5297 MB / 0.876 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8466, allocations: 11.69 kB / 0.876 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.847, allocations: 247.8 kB / 0.8762 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.8486, allocations: 354.9 kB / 0.8765 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.8545, allocations: 4.725 MB / 0.8812 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.855, allocations: 0.911 MB / 0.8821 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005081/0.8555, allocations: 112.8 kB / 0.8822 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.8557, allocations: 194.1 kB / 0.8823 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.8557, allocations: 4 kB / 0.8823 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.8886, allocations: 16.9 MB / 0.8988 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.8888, allocations: 302.3 kB / 0.8991 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.94, allocations: 0 / 0.8991 GB, free: 6.191 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)