Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.0009113/0.0009113, allocations: 93.34 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.001047/0.001047, allocations: 187.1 kB / 16.92 MB, free: 6.891 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.292/1.292, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 14.78 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4235/0.5524, allocations: 185.6 MB / 0.7413 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008539/0.561, allocations: 5.697 MB / 0.7468 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009527/0.5619, allocations: 35.75 kB / 0.7469 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.5632, allocations: 0.4935 MB / 0.7473 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003449/0.5667, allocations: 1.517 MB / 0.7488 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.5693, allocations: 1.088 MB / 0.7499 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003507/0.5728, allocations: 3.483 MB / 0.7533 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.5738, allocations: 0.8197 MB / 0.7541 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.5753, allocations: 0.8596 MB / 0.7549 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.5768, allocations: 0.8101 MB / 0.7557 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.5769, allocations: 40 kB / 0.7558 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.5798, allocations: 1.707 MB / 0.7574 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004055/0.5802, allocations: 418.8 kB / 0.7578 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.5808, allocations: 0.5731 MB / 0.7584 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.583, allocations: 2.103 MB / 0.7604 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.583, allocations: 3.938 kB / 0.7604 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.532e-06/0.583, allocations: 0 / 0.7604 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.5831, allocations: 0 / 0.7604 GB, free: 9.352 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001834/0.5849, allocations: 1.251 MB / 0.7617 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5849, allocations: 12.03 kB / 0.7617 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.5851, allocations: 139.2 kB / 0.7618 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.5869, allocations: 338.3 kB / 0.7621 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.588, allocations: 0.7804 MB / 0.7629 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.5884, allocations: 125.9 kB / 0.763 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5885, allocations: 95.92 kB / 0.7631 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.5902, allocations: 1.068 MB / 0.7641 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.5902, allocations: 0 / 0.7641 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.5903, allocations: 36 kB / 0.7642 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/0.5903, allocations: 37.98 kB / 0.7642 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.5918, allocations: 0.8509 MB / 0.765 GB, free: 4.496 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.004889/0.5967, allocations: 4.081 MB / 0.769 GB, free: 156 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.5973, allocations: 358.7 kB / 0.7694 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.5976, allocations: 217.6 kB / 0.7696 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.5977, allocations: 97.09 kB / 0.7697 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.5978, allocations: 38.56 kB / 0.7697 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.332e-06/0.5978, allocations: 0 / 0.7697 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.00225/0.6, allocations: 1.328 MB / 0.771 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.6001, allocations: 59.41 kB / 0.7711 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.6014, allocations: 0.9921 MB / 0.772 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.6014, allocations: 45.64 kB / 0.7721 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.6018, allocations: 495.2 kB / 0.7725 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6019, allocations: 138 kB / 0.7727 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.602, allocations: 53.69 kB / 0.7727 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6021, allocations: 330 kB / 0.773 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.6025, allocations: 245.2 kB / 0.7733 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.6031, allocations: 409.2 kB / 0.7737 GB, free: 11.18 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/0.6055, allocations: 1.196 MB / 0.7748 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6055, allocations: 4 kB / 0.7748 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001297/0.6068, allocations: 0.769 MB / 0.7756 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6068, allocations: 4 kB / 0.7756 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.6069, allocations: 8 kB / 0.7756 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.6069, allocations: 8 kB / 0.7756 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.6074, allocations: 144 kB / 0.7757 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.6074, allocations: 11.98 kB / 0.7758 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009536/0.6084, allocations: 99.69 kB / 0.7759 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.6085, allocations: 27.98 kB / 0.7759 GB, free: 8.82 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.000384/0.6089, allocations: 315.1 kB / 0.7762 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.609, allocations: 98.81 kB / 0.7763 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.6092, allocations: 101 kB / 0.7764 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6092, allocations: 3.938 kB / 0.7764 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6092, allocations: 4 kB / 0.7764 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006255/0.6098, allocations: 0.6798 MB / 0.777 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.612, allocations: 1.58 MB / 0.7786 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.612, allocations: 4.5 kB / 0.7786 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.6124, allocations: 91.89 kB / 0.7787 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.6124, allocations: 7.938 kB / 0.7787 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.6124, allocations: 12 kB / 0.7787 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.6124, allocations: 8 kB / 0.7787 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6124, allocations: 7.938 kB / 0.7787 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.6134, allocations: 0.8289 MB / 0.7795 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.6137, allocations: 231.9 kB / 0.7797 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.6138, allocations: 19.94 kB / 0.7798 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000715/0.6145, allocations: 60.73 kB / 0.7798 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.6146, allocations: 43.78 kB / 0.7799 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.6147, allocations: 31.98 kB / 0.7799 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009257/0.6156, allocations: 0.7113 MB / 0.7806 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6156, allocations: 0 / 0.7806 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007447/0.6163, allocations: 256 kB / 0.7808 GB, free: 3.453 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001491/0.6178, allocations: 1.461 MB / 0.7823 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008451/0.6187, allocations: 497 kB / 0.7827 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6187, allocations: 3.938 kB / 0.7827 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.619, allocations: 191.7 kB / 0.7829 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.6221, allocations: 0.617 MB / 0.7835 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.6325, allocations: 8.322 MB / 0.7916 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.6332, allocations: 1.099 MB / 0.7927 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008129/0.634, allocations: 240.2 kB / 0.793 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.6345, allocations: 347.3 kB / 0.7933 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.6345, allocations: 0 / 0.7933 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.134/5.769, allocations: 26.94 MB / 0.8196 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/5.769, allocations: 261.3 kB / 0.8198 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.063/9.832, allocations: 0 / 0.8198 GB, free: 11.39 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)