Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001038/0.001038, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.001082/0.001082, allocations: 189.4 kB / 16.91 MB, free: 6.195 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.234/1.234, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6598/0.6598, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.89 kB / 493.2 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2734, allocations: 76.16 MB / 0.556 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1594/0.4328, allocations: 184.6 MB / 0.7363 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2567/0.6896, allocations: 12.9 MB / 0.7489 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009473/0.6905, allocations: 28.5 kB / 0.749 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.6917, allocations: 355.2 kB / 0.7493 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.6938, allocations: 0.8678 MB / 0.7501 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.6952, allocations: 0.6347 MB / 0.7508 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001675/0.6969, allocations: 1.503 MB / 0.7522 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008129/0.6977, allocations: 0.6253 MB / 0.7528 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.7011, allocations: 1.681 MB / 0.7545 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.7023, allocations: 0.5373 MB / 0.755 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.7024, allocations: 54.34 kB / 0.7551 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.7039, allocations: 0.9054 MB / 0.7559 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.7042, allocations: 282.4 kB / 0.7562 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.7046, allocations: 390.4 kB / 0.7566 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.7061, allocations: 1.201 MB / 0.7578 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.7061, allocations: 1.688 kB / 0.7578 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7061, allocations: 0 / 0.7578 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.7061, allocations: 1.875 kB / 0.7578 GB, free: 1.707 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001363/0.7075, allocations: 1.044 MB / 0.7588 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7075, allocations: 10.34 kB / 0.7588 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.7076, allocations: 102.5 kB / 0.7589 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/0.7085, allocations: 190.7 kB / 0.7591 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.7092, allocations: 0.5263 MB / 0.7596 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.7096, allocations: 98.94 kB / 0.7597 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.7096, allocations: 59.69 kB / 0.7597 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.7107, allocations: 0.7629 MB / 0.7605 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.7108, allocations: 9.125 kB / 0.7605 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.7108, allocations: 24.69 kB / 0.7605 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.7108, allocations: 27 kB / 0.7605 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008848/0.7117, allocations: 465.8 kB / 0.761 GB, free: 16.42 MB / 0.5919 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.003346/0.7151, allocations: 4.172 MB / 0.7651 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.7152, allocations: 105 kB / 0.7652 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.7153, allocations: 73.25 kB / 0.7652 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.7154, allocations: 96.69 kB / 0.7653 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.7155, allocations: 37.84 kB / 0.7654 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7155, allocations: 0 / 0.7654 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000583/0.7161, allocations: 239.9 kB / 0.7656 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.7161, allocations: 134.6 kB / 0.7657 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.7171, allocations: 0.8391 MB / 0.7665 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.7171, allocations: 31.69 kB / 0.7666 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.7174, allocations: 399.5 kB / 0.7669 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.7174, allocations: 37.81 kB / 0.767 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.7175, allocations: 84.62 kB / 0.7671 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.7176, allocations: 324.9 kB / 0.7674 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.7179, allocations: 109.4 kB / 0.7675 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.7183, allocations: 351.5 kB / 0.7678 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.7188, allocations: 412.8 kB / 0.7682 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7188, allocations: 3.375 kB / 0.7682 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008263/0.7196, allocations: 484.5 kB / 0.7687 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7197, allocations: 10.16 kB / 0.7687 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.7197, allocations: 9.125 kB / 0.7687 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.7197, allocations: 10.06 kB / 0.7687 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.72, allocations: 93.92 kB / 0.7688 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.72, allocations: 16.33 kB / 0.7688 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.7207, allocations: 128.1 kB / 0.7689 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.7207, allocations: 24 kB / 0.7689 GB, free: 11.51 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.000209/0.7209, allocations: 227.6 kB / 0.7692 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.7211, allocations: 70.69 kB / 0.7692 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.631e-05/0.7212, allocations: 75.59 kB / 0.7693 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7212, allocations: 2.031 kB / 0.7693 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7212, allocations: 2.234 kB / 0.7693 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7212, allocations: 1.938 kB / 0.7693 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.7223, allocations: 1.126 MB / 0.7704 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7223, allocations: 4.156 kB / 0.7704 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.7224, allocations: 23.28 kB / 0.7704 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7224, allocations: 3.5 kB / 0.7704 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7225, allocations: 7.938 kB / 0.7704 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.7225, allocations: 6.438 kB / 0.7704 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7225, allocations: 6.781 kB / 0.7705 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.7227, allocations: 261.7 kB / 0.7707 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.7229, allocations: 169.8 kB / 0.7709 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.723, allocations: 13.2 kB / 0.7709 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.7234, allocations: 19.56 kB / 0.7709 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.7234, allocations: 13.12 kB / 0.7709 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.7234, allocations: 5.125 kB / 0.7709 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007056/0.7241, allocations: 0.5844 MB / 0.7715 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.7241, allocations: 2 kB / 0.7715 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000538/0.7247, allocations: 164.3 kB / 0.7716 GB, free: 10.24 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0007701/0.7255, allocations: 0.888 MB / 0.7725 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.7259, allocations: 233.3 kB / 0.7727 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7259, allocations: 0.9375 kB / 0.7727 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.726, allocations: 50.73 kB / 0.7728 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.7274, allocations: 376.4 kB / 0.7731 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.7344, allocations: 5.794 MB / 0.7788 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.7349, allocations: 0.9378 MB / 0.7797 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004927/0.7354, allocations: 145 kB / 0.7799 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.7356, allocations: 228.2 kB / 0.7801 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.7356, allocations: 0 / 0.7801 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8919/1.627, allocations: 17.55 MB / 0.7972 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/1.628, allocations: 278.7 kB / 0.7975 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/4.691, allocations: 5.812 kB / 0.7975 GB, free: 2.719 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)