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.0008513/0.0008515, allocations: 92.95 kB / 16.02 MB, free: 84 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.000902/0.0009021, allocations: 177 kB / 16.92 MB, free: 6.672 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.24/1.24, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6273/0.6273, allocations: 115.5 MB / 407.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002661, allocations: 12 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1245, allocations: 77.52 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.3852/0.5098, allocations: 166.3 MB / 0.7224 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005146/0.515, allocations: 3.384 MB / 0.7257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.5156, allocations: 19.88 kB / 0.7258 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008309/0.5165, allocations: 274.5 kB / 0.726 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.5188, allocations: 0.9503 MB / 0.727 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.5202, allocations: 0.6117 MB / 0.7276 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002257/0.5225, allocations: 2.114 MB / 0.7296 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.5231, allocations: 392.6 kB / 0.73 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009124/0.5241, allocations: 481.9 kB / 0.7305 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.5252, allocations: 470.7 kB / 0.7309 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.09e-05/0.5253, allocations: 24 kB / 0.7309 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.5269, allocations: 0.9429 MB / 0.7318 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.5271, allocations: 207.4 kB / 0.732 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.5276, allocations: 320.2 kB / 0.7323 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.529, allocations: 1.133 MB / 0.7335 GB, free: 5.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.529, allocations: 0 / 0.7335 GB, free: 5.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.529, allocations: 0 / 0.7335 GB, free: 5.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.529, allocations: 4 kB / 0.7335 GB, free: 5.012 MB / 0.545 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.001278/0.5303, allocations: 0.7955 MB / 0.7342 GB, free: 4.168 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5303, allocations: 8.031 kB / 0.7342 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.5305, allocations: 86.52 kB / 0.7343 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.5317, allocations: 179.2 kB / 0.7345 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.5324, allocations: 0.5012 MB / 0.735 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.5324, allocations: 33 kB / 0.735 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.5325, allocations: 44 kB / 0.7351 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.5333, allocations: 478.3 kB / 0.7355 GB, free: 2.805 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5333, allocations: 0 / 0.7355 GB, free: 2.805 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.5334, allocations: 20 kB / 0.7355 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.5334, allocations: 17 kB / 0.7356 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.534, allocations: 411.7 kB / 0.7359 GB, free: 2.367 MB / 0.545 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.00227/0.5363, allocations: 1.74 MB / 0.7376 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.5367, allocations: 290.6 kB / 0.7379 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.537, allocations: 179 kB / 0.7381 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.5372, allocations: 109 kB / 0.7382 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5372, allocations: 46.5 kB / 0.7382 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.383e-06/0.5372, allocations: 3.938 kB / 0.7382 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001765/0.539, allocations: 1.051 MB / 0.7393 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.539, allocations: 59.34 kB / 0.7393 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.5395, allocations: 457.9 kB / 0.7398 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5395, allocations: 33.7 kB / 0.7398 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.5397, allocations: 256.1 kB / 0.74 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.902e-05/0.5398, allocations: 110.3 kB / 0.7401 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.5399, allocations: 41.69 kB / 0.7402 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.54, allocations: 350.8 kB / 0.7405 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.5402, allocations: 131.9 kB / 0.7406 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.5404, allocations: 201.7 kB / 0.7408 GB, free: 13.06 MB / 0.5606 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.001811/0.5423, allocations: 0.8562 MB / 0.7417 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5423, allocations: 0 / 0.7417 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005637/0.5428, allocations: 418.3 kB / 0.7421 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5429, allocations: 4 kB / 0.7421 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5429, allocations: 4 kB / 0.7421 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.5429, allocations: 0 / 0.7421 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.5432, allocations: 76.03 kB / 0.7422 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.5432, allocations: 4 kB / 0.7422 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.5436, allocations: 35.91 kB / 0.7422 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.5436, allocations: 8.875 kB / 0.7422 GB, free: 11.62 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0002251/0.5439, allocations: 221.7 kB / 0.7424 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.544, allocations: 51.34 kB / 0.7425 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.5441, allocations: 64.75 kB / 0.7425 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5441, allocations: 4 kB / 0.7425 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.5441, allocations: 0 / 0.7425 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004487/0.5446, allocations: 404.5 kB / 0.7429 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.5462, allocations: 1.247 MB / 0.7441 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.5462, allocations: 8 kB / 0.7441 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.5465, allocations: 79.89 kB / 0.7442 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5466, allocations: 4 kB / 0.7442 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.5466, allocations: 12 kB / 0.7442 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5466, allocations: 7.938 kB / 0.7442 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5466, allocations: 4 kB / 0.7442 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.5474, allocations: 0.6962 MB / 0.7449 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.5476, allocations: 176.4 kB / 0.7451 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.5477, allocations: 16.06 kB / 0.7451 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.5481, allocations: 41.23 kB / 0.7451 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.5481, allocations: 35.89 kB / 0.7452 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.5482, allocations: 23.98 kB / 0.7452 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003379/0.5485, allocations: 331.1 kB / 0.7455 GB, free: 8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5485, allocations: 0 / 0.7455 GB, free: 8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004832/0.549, allocations: 136 kB / 0.7456 GB, free: 7.867 MB / 0.5606 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.001274/0.5503, allocations: 1.302 MB / 0.7469 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004808/0.5508, allocations: 320.4 kB / 0.7472 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5508, allocations: 4 kB / 0.7472 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.551, allocations: 161 kB / 0.7474 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.5529, allocations: 360.3 kB / 0.7477 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.5583, allocations: 4.693 MB / 0.7523 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.5588, allocations: 0.8862 MB / 0.7532 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004575/0.5593, allocations: 128.6 kB / 0.7533 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.5595, allocations: 171.4 kB / 0.7535 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5595, allocations: 3.938 kB / 0.7535 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.625/3.184, allocations: 14.63 MB / 0.7677 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/3.185, allocations: 255.8 kB / 0.768 GB, free: 1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.543/7.727, allocations: 0 / 0.768 GB, free: 1 MB / 0.5762 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)