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.001527/0.001527, allocations: 108 kB / 15.6 MB, free: 132 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.001433/0.001433, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002374/0.002374, allocations: 283 kB / 290.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9623/0.9623, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002597, allocations: 97.39 kB / 0.6065 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1464, allocations: 89.14 MB / 0.6936 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4283/0.5747, allocations: 171 MB / 0.8606 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006088/0.5808, allocations: 4.299 MB / 0.8648 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.5812, allocations: 27.41 kB / 0.8648 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008574/0.5821, allocations: 359.4 kB / 0.8652 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.5844, allocations: 1.219 MB / 0.8664 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.5861, allocations: 0.7903 MB / 0.8672 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001622/0.5877, allocations: 1.692 MB / 0.8688 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006596/0.5884, allocations: 0.5581 MB / 0.8693 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009128/0.5893, allocations: 0.6803 MB / 0.87 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.5903, allocations: 0.5398 MB / 0.8705 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.376e-05/0.5904, allocations: 67.56 kB / 0.8706 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.5917, allocations: 0.8102 MB / 0.8714 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.592, allocations: 270.3 kB / 0.8717 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.5924, allocations: 406.3 kB / 0.872 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.5938, allocations: 1.252 MB / 0.8733 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5938, allocations: 2.906 kB / 0.8733 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5938, allocations: 3.938 kB / 0.8733 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.5938, allocations: 0 / 0.8733 GB, free: 1.859 MB / 0.5919 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.001669/0.5955, allocations: 1.035 MB / 0.8743 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.5955, allocations: 7.656 kB / 0.8743 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.5957, allocations: 104.7 kB / 0.8744 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/0.5966, allocations: 165.6 kB / 0.8745 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.5974, allocations: 0.5252 MB / 0.8751 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.5974, allocations: 39.69 kB / 0.8751 GB, free: 428 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.5975, allocations: 49.31 kB / 0.8751 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009862/0.5985, allocations: 0.6585 MB / 0.8758 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5985, allocations: 0 / 0.8758 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.5986, allocations: 28.86 kB / 0.8758 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.5986, allocations: 21.44 kB / 0.8758 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/0.5995, allocations: 0.5096 MB / 0.8763 GB, free: 15.73 MB / 0.6075 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.003211/0.6027, allocations: 2.317 MB / 0.8786 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.6032, allocations: 259.5 kB / 0.8788 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.6035, allocations: 136.3 kB / 0.879 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.6035, allocations: 3.938 kB / 0.879 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.6036, allocations: 38.56 kB / 0.879 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.6036, allocations: 4 kB / 0.879 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001694/0.6053, allocations: 0.6747 MB / 0.8797 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.6053, allocations: 77.11 kB / 0.8797 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.606, allocations: 0.5575 MB / 0.8803 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.6061, allocations: 33.7 kB / 0.8803 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.6064, allocations: 338.9 kB / 0.8806 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.6064, allocations: 71.09 kB / 0.8807 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.6066, allocations: 69.94 kB / 0.8808 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6067, allocations: 362.7 kB / 0.8811 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.607, allocations: 128.6 kB / 0.8813 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.6074, allocations: 218.6 kB / 0.8815 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.6079, allocations: 337.4 kB / 0.8818 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6079, allocations: 0 / 0.8818 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009697/0.6089, allocations: 498.6 kB / 0.8823 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.609, allocations: 11.98 kB / 0.8823 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.609, allocations: 4 kB / 0.8823 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/0.6093, allocations: 87.78 kB / 0.8824 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.6096, allocations: 71.91 kB / 0.8824 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.613, allocations: 3.342 MB / 0.8857 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.6134, allocations: 55.36 kB / 0.8857 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.6135, allocations: 12 kB / 0.8858 GB, free: 6.094 MB / 0.6075 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.0002909/0.6138, allocations: 214.3 kB / 0.886 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6139, allocations: 51.44 kB / 0.886 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.614, allocations: 64.56 kB / 0.8861 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.614, allocations: 0 / 0.8861 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.614, allocations: 3.938 kB / 0.8861 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007872/0.6148, allocations: 0.5306 MB / 0.8866 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.6161, allocations: 0.917 MB / 0.8875 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6161, allocations: 0 / 0.8875 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.6164, allocations: 47.91 kB / 0.8875 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.6166, allocations: 64.81 kB / 0.8876 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.6166, allocations: 11.98 kB / 0.8876 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.6185, allocations: 1.827 MB / 0.8894 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.6185, allocations: 3.984 kB / 0.8894 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.6191, allocations: 436 kB / 0.8898 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.6194, allocations: 164.4 kB / 0.89 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.6195, allocations: 15.88 kB / 0.89 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.6199, allocations: 19.7 kB / 0.89 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.62, allocations: 19.97 kB / 0.89 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.62, allocations: 15.98 kB / 0.89 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004707/0.6205, allocations: 394.8 kB / 0.8904 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6205, allocations: 8 kB / 0.8904 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006231/0.6211, allocations: 207.6 kB / 0.8906 GB, free: 0.793 MB / 0.6075 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.001228/0.6224, allocations: 1.025 MB / 0.8916 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009399/0.6233, allocations: 0.5427 MB / 0.8921 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.6233, allocations: 11.88 kB / 0.8922 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.6237, allocations: 254.5 kB / 0.8924 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.6254, allocations: 377.6 kB / 0.8928 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.6315, allocations: 4.543 MB / 0.8972 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.6321, allocations: 0.9093 MB / 0.8981 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004349/0.6325, allocations: 112.8 kB / 0.8982 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.6328, allocations: 195.3 kB / 0.8984 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.6328, allocations: 0 / 0.8984 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.198/1.831, allocations: 17.66 MB / 0.9156 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/14.63, allocations: 8.453 kB / 0.9156 GB, free: 7.344 MB / 0.6387 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)