Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8956/0.8956, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.5 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009135, allocations: 98.08 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 269.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.113e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5263/0.5263, allocations: 82.77 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/5.204, allocations: 1.882 GB / 2.64 GB, free: 176.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/5.205, allocations: 87.94 kB / 2.64 GB, free: 176.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.041/8.245, allocations: 0.7487 GB / 3.388 GB, free: 118.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/8.245, allocations: 6.188 kB / 3.388 GB, free: 118.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001079/8.245, allocations: 40.16 kB / 3.388 GB, free: 118.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003624/8.249, allocations: 1.54 MB / 3.39 GB, free: 117.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/8.249, allocations: 10.12 kB / 3.39 GB, free: 117.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/8.252, allocations: 477.3 kB / 3.39 GB, free: 117.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/8.255, allocations: 1.084 MB / 3.391 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/8.255, allocations: 34.16 kB / 3.391 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/8.255, allocations: 67.62 kB / 3.391 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001608/8.256, allocations: 0.9322 MB / 3.392 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/8.258, allocations: 1.046 MB / 3.393 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/8.258, allocations: 0 / 3.393 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/8.258, allocations: 7.594 kB / 3.393 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/8.258, allocations: 39.91 kB / 3.393 GB, free: 117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/8.264, allocations: 4.25 MB / 3.398 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/8.265, allocations: 0.5951 MB / 3.398 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/8.265, allocations: 379 kB / 3.399 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/8.265, allocations: 291.6 kB / 3.399 GB, free: 115.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/8.265, allocations: 46.97 kB / 3.399 GB, free: 115.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.366e-06/8.266, allocations: 0 / 3.399 GB, free: 115.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.001661/8.267, allocations: 0.7887 MB / 3.4 GB, free: 115 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/8.267, allocations: 59.44 kB / 3.4 GB, free: 115 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/8.268, allocations: 0.6411 MB / 3.4 GB, free: 114.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/8.268, allocations: 25.7 kB / 3.4 GB, free: 114.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/8.268, allocations: 0.5939 MB / 3.401 GB, free: 114.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/8.269, allocations: 228.2 kB / 3.401 GB, free: 114.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/8.269, allocations: 0 / 3.401 GB, free: 114.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/8.269, allocations: 337.5 kB / 3.401 GB, free: 114.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/8.269, allocations: 282.3 kB / 3.402 GB, free: 114.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/8.27, allocations: 496 kB / 3.402 GB, free: 113.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/8.27, allocations: 371.5 kB / 3.403 GB, free: 113.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/8.27, allocations: 3.719 kB / 3.403 GB, free: 113.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001096/8.271, allocations: 0.8546 MB / 3.403 GB, free: 113.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/8.271, allocations: 10.48 kB / 3.403 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/8.271, allocations: 15.09 kB / 3.403 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/8.271, allocations: 10 kB / 3.403 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/8.272, allocations: 165.2 kB / 3.404 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/8.272, allocations: 12.81 kB / 3.404 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/8.273, allocations: 86.64 kB / 3.404 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/8.273, allocations: 34.47 kB / 3.404 GB, free: 113.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/8.273, allocations: 119.7 kB / 3.404 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001199/8.274, allocations: 0.7288 MB / 3.405 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/8.275, allocations: 101.7 kB / 3.405 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/8.275, allocations: 114.9 kB / 3.405 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/8.275, allocations: 7.656 kB / 3.405 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/8.275, allocations: 3.391 kB / 3.405 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/8.276, allocations: 0.8948 MB / 3.406 GB, free: 113.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/8.28, allocations: 2.086 MB / 3.408 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/8.28, allocations: 3.312 kB / 3.408 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/8.28, allocations: 126 kB / 3.408 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000396/8.281, allocations: 89.92 kB / 3.408 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/8.281, allocations: 12.28 kB / 3.408 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/8.283, allocations: 2.804 MB / 3.411 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/8.283, allocations: 2.031 kB / 3.411 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/8.285, allocations: 1.493 MB / 3.412 GB, free: 109.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/8.286, allocations: 268.5 kB / 3.412 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/8.286, allocations: 5.312 kB / 3.412 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008677/8.287, allocations: 57.06 kB / 3.412 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/8.287, allocations: 58.95 kB / 3.412 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/8.287, allocations: 32.78 kB / 3.412 GB, free: 109.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006384/8.287, allocations: 496.8 kB / 3.413 GB, free: 109.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/8.287, allocations: 0 / 3.413 GB, free: 109.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001802/8.289, allocations: 0.5184 MB / 3.413 GB, free: 109.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004116/8.293, allocations: 4.746 MB / 3.418 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001124/8.295, allocations: 0.6609 MB / 3.419 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/8.295, allocations: 3 kB / 3.419 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/8.295, allocations: 0.5413 MB / 3.419 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/8.298, allocations: 0.6277 MB / 3.42 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/8.302, allocations: 2.232 MB / 3.422 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/8.303, allocations: 1.249 MB / 3.423 GB, free: 105.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001106/8.304, allocations: 300.6 kB / 3.424 GB, free: 105.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/8.304, allocations: 456.7 kB / 3.424 GB, free: 105.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/8.304, allocations: 0 / 3.424 GB, free: 105.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07322/8.378, allocations: 41.31 MB / 3.464 GB, free: 103.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/8.378, allocations: 193.4 kB / 3.465 GB, free: 103.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/11.73, allocations: 4 kB / 3.465 GB, free: 103.5 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)