Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009171/0.0009167, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009732/0.0009735, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.108/1.108, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1794, allocations: 83.43 MB / 0.5975 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5318/0.7112, allocations: 155.2 MB / 0.7491 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005697/0.717, allocations: 3.187 MB / 0.7522 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.7176, allocations: 19.88 kB / 0.7522 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.7183, allocations: 226.5 kB / 0.7524 GB, free: 13.5 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002097/0.7204, allocations: 0.7464 MB / 0.7532 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.7219, allocations: 496.9 kB / 0.7536 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002352/0.7243, allocations: 1.782 MB / 0.7554 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000581/0.7249, allocations: 355.4 kB / 0.7557 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.7257, allocations: 478 kB / 0.7562 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.7264, allocations: 458.2 kB / 0.7566 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.7265, allocations: 20 kB / 0.7566 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.7276, allocations: 427 kB / 0.757 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.7279, allocations: 203.4 kB / 0.7572 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.728, allocations: 145.5 kB / 0.7574 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008835/0.7289, allocations: 0.8143 MB / 0.7582 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7289, allocations: 0 / 0.7582 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7289, allocations: 0 / 0.7582 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.729, allocations: 0 / 0.7582 GB, free: 7.617 MB / 0.5762 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.001402/0.7304, allocations: 0.7986 MB / 0.7589 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7304, allocations: 12.03 kB / 0.759 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.7305, allocations: 86.52 kB / 0.759 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.7318, allocations: 179.1 kB / 0.7592 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.7326, allocations: 0.4899 MB / 0.7597 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.7326, allocations: 33 kB / 0.7597 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.7327, allocations: 40 kB / 0.7598 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000833/0.7336, allocations: 474.9 kB / 0.7602 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.7336, allocations: 0 / 0.7602 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.7336, allocations: 20 kB / 0.7602 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.7337, allocations: 16.98 kB / 0.7602 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.7344, allocations: 415.7 kB / 0.7606 GB, free: 4.98 MB / 0.5762 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.002675/0.737, allocations: 1.74 MB / 0.7623 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.7375, allocations: 288.3 kB / 0.7626 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.7378, allocations: 178 kB / 0.7628 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.738, allocations: 97.09 kB / 0.7629 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.7381, allocations: 47.05 kB / 0.7629 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.7381, allocations: 3.938 kB / 0.7629 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002095/0.7402, allocations: 1.052 MB / 0.764 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.7403, allocations: 55.41 kB / 0.764 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/0.7408, allocations: 453.9 kB / 0.7644 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.7409, allocations: 37.7 kB / 0.7645 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.7411, allocations: 256.1 kB / 0.7647 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.7412, allocations: 114.3 kB / 0.7648 GB, free: 444 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.7413, allocations: 8 kB / 0.7648 GB, free: 436 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7415, allocations: 358.8 kB / 0.7652 GB, free: 68 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.7417, allocations: 123.9 kB / 0.7653 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.742, allocations: 197.9 kB / 0.7655 GB, free: 15.73 MB / 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.001436/0.7434, allocations: 0.5481 MB / 0.766 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.7434, allocations: 0 / 0.766 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006558/0.7441, allocations: 426.9 kB / 0.7664 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.7441, allocations: 4.625 kB / 0.7664 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7441, allocations: 4.688 kB / 0.7664 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.7442, allocations: 0 / 0.7664 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.7445, allocations: 71.84 kB / 0.7665 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.7445, allocations: 4 kB / 0.7665 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.7448, allocations: 36.16 kB / 0.7665 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.7449, allocations: 8 kB / 0.7666 GB, free: 14.62 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002809/0.7452, allocations: 216.2 kB / 0.7668 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.7453, allocations: 51.39 kB / 0.7668 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.7454, allocations: 64.75 kB / 0.7669 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.7454, allocations: 4 kB / 0.7669 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.7454, allocations: 4 kB / 0.7669 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005239/0.746, allocations: 409.9 kB / 0.7673 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.7478, allocations: 1.239 MB / 0.7685 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.7478, allocations: 4.5 kB / 0.7685 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.7482, allocations: 75.91 kB / 0.7686 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.7482, allocations: 8 kB / 0.7686 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.7482, allocations: 8 kB / 0.7686 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.7482, allocations: 15.89 kB / 0.7686 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7482, allocations: 4 kB / 0.7686 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.7491, allocations: 0.696 MB / 0.7693 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.7494, allocations: 172.5 kB / 0.7694 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.7494, allocations: 12 kB / 0.7694 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.7498, allocations: 41.02 kB / 0.7695 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.7499, allocations: 24.47 kB / 0.7695 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.7499, allocations: 27.92 kB / 0.7695 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003843/0.7503, allocations: 323.1 kB / 0.7698 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7503, allocations: 3.938 kB / 0.7698 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005503/0.7509, allocations: 148 kB / 0.77 GB, free: 10.88 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001636/0.7525, allocations: 1.31 MB / 0.7713 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005801/0.7531, allocations: 319.5 kB / 0.7716 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7532, allocations: 384 / 0.7716 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.7534, allocations: 163.7 kB / 0.7717 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.755, allocations: 347.7 kB / 0.7721 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/0.76, allocations: 3.088 MB / 0.7751 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.7606, allocations: 0.8939 MB / 0.7759 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000567/0.7611, allocations: 129.9 kB / 0.7761 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.7614, allocations: 167.4 kB / 0.7762 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.7614, allocations: 0 / 0.7762 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.7965, allocations: 15.07 MB / 0.791 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.7968, allocations: 252.6 kB / 0.7912 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.955, allocations: 3.938 kB / 0.7912 GB, free: 5.285 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) Environment - environmentSimulation: