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.005/0.005, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.00109/0.00109, allocations: 197.4 kB / 16.67 MB, free: 5.961 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 291.6 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8869/0.8869, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 95.86 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.43, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1605/0.5905, allocations: 170.8 MB / 0.9327 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00532/0.5959, allocations: 3.391 MB / 0.936 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.5965, allocations: 23.88 kB / 0.936 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008681/0.5975, allocations: 318.1 kB / 0.9363 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.5997, allocations: 1.007 MB / 0.9373 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.6012, allocations: 0.6708 MB / 0.938 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.6027, allocations: 1.527 MB / 0.9394 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005514/0.6033, allocations: 477.5 kB / 0.9399 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.6041, allocations: 0.5759 MB / 0.9405 GB, free: 424 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008981/0.605, allocations: 461.4 kB / 0.9409 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.6051, allocations: 59.91 kB / 0.941 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.6064, allocations: 0.8301 MB / 0.9418 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.6067, allocations: 239.4 kB / 0.942 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.6071, allocations: 338.5 kB / 0.9423 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.6084, allocations: 1.141 MB / 0.9434 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6085, allocations: 3.984 kB / 0.9434 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6085, allocations: 4 kB / 0.9434 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.6085, allocations: 0 / 0.9434 GB, free: 13.36 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.0013/0.6098, allocations: 0.9115 MB / 0.9443 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6098, allocations: 8.031 kB / 0.9443 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.51e-05/0.6099, allocations: 86.53 kB / 0.9444 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.6111, allocations: 167.1 kB / 0.9446 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/0.6118, allocations: 0.5247 MB / 0.9451 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.6118, allocations: 33 kB / 0.9451 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.6119, allocations: 44 kB / 0.9452 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.6126, allocations: 474.3 kB / 0.9456 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.6127, allocations: 4 kB / 0.9456 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.6127, allocations: 16 kB / 0.9456 GB, free: 11 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.6127, allocations: 17 kB / 0.9457 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.6133, allocations: 411.7 kB / 0.946 GB, free: 10.58 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.00221/0.6155, allocations: 1.739 MB / 0.9477 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.616, allocations: 290.6 kB / 0.948 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.6162, allocations: 184.7 kB / 0.9482 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.6164, allocations: 113 kB / 0.9483 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.6164, allocations: 34.56 kB / 0.9483 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.562e-06/0.6165, allocations: 0 / 0.9483 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.001814/0.6183, allocations: 1.052 MB / 0.9494 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.6183, allocations: 59.41 kB / 0.9494 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.6188, allocations: 457.9 kB / 0.9499 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.6188, allocations: 33.7 kB / 0.9499 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.619, allocations: 252.1 kB / 0.9501 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6191, allocations: 114.3 kB / 0.9502 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.6192, allocations: 69.69 kB / 0.9503 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6194, allocations: 350.8 kB / 0.9506 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.6196, allocations: 131.9 kB / 0.9508 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.6198, allocations: 202.5 kB / 0.951 GB, free: 5.258 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.001754/0.6216, allocations: 0.8604 MB / 0.9518 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6216, allocations: 0 / 0.9518 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005553/0.6221, allocations: 414.4 kB / 0.9522 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6222, allocations: 4 kB / 0.9522 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.6222, allocations: 8.188 kB / 0.9522 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6222, allocations: 0 / 0.9522 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.6225, allocations: 71.91 kB / 0.9523 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6225, allocations: 4 kB / 0.9523 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.6229, allocations: 11.98 kB / 0.9523 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.6229, allocations: 16 kB / 0.9523 GB, free: 3.836 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.0002318/0.6231, allocations: 220.5 kB / 0.9525 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.6232, allocations: 47.44 kB / 0.9526 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.6234, allocations: 72.69 kB / 0.9526 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6234, allocations: 4 kB / 0.9526 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6234, allocations: 4 kB / 0.9526 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004431/0.6238, allocations: 401.2 kB / 0.953 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.6254, allocations: 1.253 MB / 0.9542 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6254, allocations: 4 kB / 0.9543 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.6258, allocations: 75.91 kB / 0.9543 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6258, allocations: 4 kB / 0.9543 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.6258, allocations: 12 kB / 0.9543 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.6258, allocations: 4 kB / 0.9543 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6258, allocations: 7.938 kB / 0.9543 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.6266, allocations: 0.7038 MB / 0.955 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.6268, allocations: 172.5 kB / 0.9552 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.6269, allocations: 12 kB / 0.9552 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.6273, allocations: 20.8 kB / 0.9552 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.6273, allocations: 31.84 kB / 0.9553 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.6274, allocations: 23.94 kB / 0.9553 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000318/0.6277, allocations: 335.1 kB / 0.9556 GB, free: 240 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6277, allocations: 0 / 0.9556 GB, free: 240 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004813/0.6282, allocations: 136 kB / 0.9557 GB, free: 104 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.3697/0.9979, allocations: 1.296 MB / 0.957 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007175/0.9986, allocations: 330 kB / 0.9573 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9987, allocations: 1.719 kB / 0.9573 GB, free: 190 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.9989, allocations: 165.7 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.001727/1.001, allocations: 367.7 kB / 0.9578 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/1.006, allocations: 4.402 MB / 0.9621 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/1.006, allocations: 0.8853 MB / 0.963 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004857/1.007, allocations: 136.6 kB / 0.9631 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/1.007, allocations: 168.8 kB / 0.9633 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of SimCode: time 6.12e-07/1.007, allocations: 0 / 0.9633 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/1.041, allocations: 15.74 MB / 0.9787 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.768, allocations: 13.78 kB / 0.9787 GB, free: 175.7 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)