Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.004315/0.004315, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001256/0.001256, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002364/0.002364, allocations: 282.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9406/0.9406, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 99.84 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3628, allocations: 86.97 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1783/0.5411, allocations: 170.8 MB / 0.9327 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005182/0.5464, allocations: 3.386 MB / 0.936 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003743/0.5467, allocations: 19.88 kB / 0.936 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.5476, allocations: 322.1 kB / 0.9363 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.5495, allocations: 1.007 MB / 0.9373 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.551, allocations: 0.6655 MB / 0.9379 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.5526, allocations: 1.537 MB / 0.9394 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005836/0.5532, allocations: 481.4 kB / 0.9399 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.5539, allocations: 0.5598 MB / 0.9405 GB, free: 488 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008931/0.5548, allocations: 473.3 kB / 0.9409 GB, free: 16 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.059e-05/0.5549, allocations: 52.05 kB / 0.941 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.5562, allocations: 0.8262 MB / 0.9418 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.5564, allocations: 247.3 kB / 0.942 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.5568, allocations: 330.6 kB / 0.9423 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.5581, allocations: 1.15 MB / 0.9434 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5581, allocations: 0 / 0.9434 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5581, allocations: 0 / 0.9434 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.5581, allocations: 0 / 0.9434 GB, free: 13.42 MB / 0.7169 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.001331/0.5595, allocations: 0.9301 MB / 0.9443 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.5595, allocations: 16.02 kB / 0.9444 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.5596, allocations: 82.53 kB / 0.9444 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.5607, allocations: 179.4 kB / 0.9446 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/0.5615, allocations: 0.5251 MB / 0.9451 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.5616, allocations: 33 kB / 0.9452 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.5616, allocations: 40 kB / 0.9452 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.5624, allocations: 478.3 kB / 0.9456 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5624, allocations: 0 / 0.9456 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.5625, allocations: 16 kB / 0.9457 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.5625, allocations: 17 kB / 0.9457 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.5631, allocations: 411.7 kB / 0.9461 GB, free: 10.61 MB / 0.7169 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.002435/0.5656, allocations: 1.736 MB / 0.9478 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.5661, allocations: 298.6 kB / 0.9481 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.5663, allocations: 176.8 kB / 0.9482 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.5665, allocations: 105 kB / 0.9483 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5665, allocations: 42.5 kB / 0.9484 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.5665, allocations: 0 / 0.9484 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001861/0.5684, allocations: 1.057 MB / 0.9494 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.5685, allocations: 63.39 kB / 0.9495 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.569, allocations: 445.9 kB / 0.9499 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.569, allocations: 37.7 kB / 0.9499 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.5692, allocations: 256.4 kB / 0.9502 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.5693, allocations: 122.9 kB / 0.9503 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.5694, allocations: 65.7 kB / 0.9503 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5696, allocations: 358.8 kB / 0.9507 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.5698, allocations: 123.9 kB / 0.9508 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.5701, allocations: 194.6 kB / 0.951 GB, free: 5.289 MB / 0.7169 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.001893/0.572, allocations: 0.8729 MB / 0.9518 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.572, allocations: 0 / 0.9518 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006031/0.5726, allocations: 418.1 kB / 0.9522 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5726, allocations: 8 kB / 0.9522 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5726, allocations: 0 / 0.9522 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5726, allocations: 8.188 kB / 0.9523 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.5729, allocations: 75.84 kB / 0.9523 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.573, allocations: 11.98 kB / 0.9523 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.5733, allocations: 8 kB / 0.9523 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.5734, allocations: 12 kB / 0.9524 GB, free: 3.844 MB / 0.7169 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.0002362/0.5736, allocations: 220.5 kB / 0.9526 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.5737, allocations: 51.67 kB / 0.9526 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.5738, allocations: 60.77 kB / 0.9527 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5738, allocations: 8 kB / 0.9527 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5738, allocations: 0 / 0.9527 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004961/0.5743, allocations: 409.2 kB / 0.9531 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.5761, allocations: 1.249 MB / 0.9543 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5761, allocations: 8.062 kB / 0.9543 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.5765, allocations: 67.91 kB / 0.9544 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.5765, allocations: 4 kB / 0.9544 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.5765, allocations: 15.98 kB / 0.9544 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.5765, allocations: 7.938 kB / 0.9544 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.5766, allocations: 8 kB / 0.9544 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.5774, allocations: 0.7118 MB / 0.9551 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.5776, allocations: 172.8 kB / 0.9553 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.5777, allocations: 15.94 kB / 0.9553 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.5781, allocations: 19.98 kB / 0.9553 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.5782, allocations: 31.98 kB / 0.9553 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.5782, allocations: 19.98 kB / 0.9553 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003464/0.5786, allocations: 327.1 kB / 0.9557 GB, free: 252 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5786, allocations: 0 / 0.9557 GB, free: 252 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006022/0.5792, allocations: 143.9 kB / 0.9558 GB, free: 108 kB / 0.7169 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.2932/0.8724, allocations: 1.306 MB / 0.9571 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.8731, allocations: 324.5 kB / 0.9574 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8731, allocations: 1.781 kB / 0.9574 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.8733, allocations: 167.5 kB / 0.9575 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.8751, allocations: 357.5 kB / 0.9579 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.8799, allocations: 4.421 MB / 0.9622 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.8802, allocations: 0.8849 MB / 0.9631 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004234/0.8806, allocations: 142.9 kB / 0.9632 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.8808, allocations: 169.2 kB / 0.9634 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8809, allocations: 0 / 0.9634 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.9169, allocations: 15.49 MB / 0.9785 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.35, allocations: 18.89 kB / 0.9785 GB, free: 175.9 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)