Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001258/0.001258, allocations: 104.6 kB / 16.4 MB, free: 6.465 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.001423/0.001423, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7874/0.7874, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 68.02 kB / 0.5716 GB, free: 27.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.132, allocations: 78.57 MB / 0.6484 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4601/0.5922, allocations: 170.8 MB / 0.8152 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004423/0.5966, allocations: 3.392 MB / 0.8185 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.5971, allocations: 20.19 kB / 0.8185 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007897/0.5979, allocations: 309.3 kB / 0.8188 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.6, allocations: 1.015 MB / 0.8198 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.6014, allocations: 0.6646 MB / 0.8204 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.603, allocations: 1.536 MB / 0.8219 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005721/0.6035, allocations: 465.5 kB / 0.8224 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.6046, allocations: 0.6997 MB / 0.8231 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009118/0.6055, allocations: 467.3 kB / 0.8235 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.148e-05/0.6056, allocations: 52.44 kB / 0.8235 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.6068, allocations: 0.8249 MB / 0.8244 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.6071, allocations: 243.2 kB / 0.8246 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.6074, allocations: 337.9 kB / 0.8249 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.6087, allocations: 1.132 MB / 0.826 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6088, allocations: 0 / 0.826 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6088, allocations: 0 / 0.826 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.6088, allocations: 4 kB / 0.826 GB, free: 5.863 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001288/0.6101, allocations: 0.9259 MB / 0.8269 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.6101, allocations: 10.34 kB / 0.8269 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.6102, allocations: 85.64 kB / 0.827 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.6113, allocations: 179.6 kB / 0.8272 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007409/0.6121, allocations: 0.5328 MB / 0.8277 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.6121, allocations: 35.31 kB / 0.8277 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.6122, allocations: 39.41 kB / 0.8278 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007207/0.6129, allocations: 476.3 kB / 0.8282 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.613, allocations: 4 kB / 0.8282 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.613, allocations: 17.78 kB / 0.8282 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.613, allocations: 13.84 kB / 0.8283 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.6136, allocations: 413.1 kB / 0.8287 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.616, allocations: 1.807 MB / 0.8304 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.6164, allocations: 305.2 kB / 0.8307 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.6167, allocations: 178.4 kB / 0.8309 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.6169, allocations: 100.8 kB / 0.831 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.6169, allocations: 43.28 kB / 0.831 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.6169, allocations: 0 / 0.831 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001823/0.6187, allocations: 1.071 MB / 0.8321 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.6188, allocations: 54.22 kB / 0.8321 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.6192, allocations: 452 kB / 0.8325 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.6193, allocations: 36.45 kB / 0.8326 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.6195, allocations: 252.1 kB / 0.8328 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6196, allocations: 123.7 kB / 0.8329 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.6197, allocations: 65.98 kB / 0.833 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6199, allocations: 363.4 kB / 0.8334 GB, free: 280 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.6201, allocations: 130.2 kB / 0.8335 GB, free: 212 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.6203, allocations: 203.5 kB / 0.8337 GB, free: 64 kB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.6222, allocations: 0.861 MB / 0.8345 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6222, allocations: 0 / 0.8345 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005757/0.6228, allocations: 426.2 kB / 0.8349 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6228, allocations: 4.844 kB / 0.8349 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6228, allocations: 2.25 kB / 0.8349 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6228, allocations: 3.031 kB / 0.8349 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.6231, allocations: 70.91 kB / 0.835 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6231, allocations: 2.531 kB / 0.835 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.6235, allocations: 21.39 kB / 0.835 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.6235, allocations: 15.66 kB / 0.835 GB, free: 15.28 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.6238, allocations: 207.5 kB / 0.8352 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/0.6239, allocations: 57.27 kB / 0.8353 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.624, allocations: 60.12 kB / 0.8353 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.624, allocations: 4.438 kB / 0.8353 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.624, allocations: 0 / 0.8353 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004703/0.6245, allocations: 408.1 kB / 0.8357 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.6262, allocations: 1.242 MB / 0.8369 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6262, allocations: 5.281 kB / 0.837 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.6265, allocations: 77.36 kB / 0.837 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.6265, allocations: 5.781 kB / 0.837 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.6266, allocations: 16.56 kB / 0.837 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.6266, allocations: 4.969 kB / 0.8371 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.6266, allocations: 8.406 kB / 0.8371 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.6274, allocations: 0.7103 MB / 0.8378 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.6276, allocations: 173.3 kB / 0.8379 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.6277, allocations: 8.812 kB / 0.8379 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.6281, allocations: 24.08 kB / 0.838 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.6281, allocations: 36.62 kB / 0.838 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.6282, allocations: 14.94 kB / 0.838 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000329/0.6285, allocations: 328.6 kB / 0.8383 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.963e-06/0.6285, allocations: 0 / 0.8383 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004806/0.629, allocations: 148.3 kB / 0.8385 GB, free: 12.82 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/0.6303, allocations: 1.315 MB / 0.8397 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005032/0.6309, allocations: 329.7 kB / 0.8401 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.6309, allocations: 5.812 kB / 0.8401 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.6311, allocations: 166.5 kB / 0.8402 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.6327, allocations: 367.6 kB / 0.8406 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.6379, allocations: 4.417 MB / 0.8449 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.6384, allocations: 0.8854 MB / 0.8457 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004386/0.6388, allocations: 128.2 kB / 0.8459 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.6391, allocations: 170.5 kB / 0.846 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.6391, allocations: 0 / 0.846 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3391/0.9782, allocations: 15.46 MB / 0.8611 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.1/10.08, allocations: 12.75 kB / 0.8611 GB, free: 8.234 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)