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.001583/0.001584, allocations: 95.88 kB / 15.68 MB, free: 488 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.002447/0.002447, allocations: 174.2 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.45/2.45, allocations: 223.2 MB / 240.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.165/1.165, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005812/0.0005816, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2841, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8979/1.182, allocations: 155.6 MB / 0.7087 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02553/1.208, allocations: 10.86 MB / 0.7193 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/1.21, allocations: 23.88 kB / 0.7193 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002766/1.212, allocations: 437.9 kB / 0.7197 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006535/1.219, allocations: 1.032 MB / 0.7207 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00479/1.224, allocations: 0.8039 MB / 0.7215 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003268/1.227, allocations: 0.9018 MB / 0.7224 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/1.229, allocations: 0.505 MB / 0.7229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005213/1.234, allocations: 1.133 MB / 0.724 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/1.235, allocations: 322.5 kB / 0.7243 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002862/1.236, allocations: 28 kB / 0.7243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/1.238, allocations: 0.6045 MB / 0.7249 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000562/1.239, allocations: 235.4 kB / 0.7251 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005511/1.24, allocations: 165.3 kB / 0.7253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/1.242, allocations: 0.8118 MB / 0.7261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.242, allocations: 4 kB / 0.7261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.276e-06/1.242, allocations: 0 / 0.7261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.879e-05/1.242, allocations: 0 / 0.7261 GB, free: 12.62 MB / 0.545 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.002644/1.245, allocations: 0.9277 MB / 0.727 GB, free: 11.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/1.245, allocations: 8.031 kB / 0.727 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003078/1.245, allocations: 102.5 kB / 0.7271 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/1.247, allocations: 203.8 kB / 0.7273 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/1.249, allocations: 0.5055 MB / 0.7278 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006335/1.249, allocations: 117.2 kB / 0.7279 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/1.25, allocations: 56 kB / 0.7279 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/1.252, allocations: 0.7563 MB / 0.7287 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/1.252, allocations: 4 kB / 0.7287 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.252, allocations: 24 kB / 0.7287 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/1.252, allocations: 28.94 kB / 0.7287 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/1.254, allocations: 467.3 kB / 0.7292 GB, free: 9.25 MB / 0.545 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.007113/1.261, allocations: 4.175 MB / 0.7333 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/1.261, allocations: 102.4 kB / 0.7334 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/1.261, allocations: 4.188 kB / 0.7334 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.261, allocations: 46.55 kB / 0.7334 GB, free: 4.664 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/1.261, allocations: 3.938 kB / 0.7334 GB, free: 4.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0012/1.263, allocations: 240.5 kB / 0.7336 GB, free: 4.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/1.263, allocations: 128.8 kB / 0.7338 GB, free: 4.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/1.265, allocations: 0.8407 MB / 0.7346 GB, free: 3.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/1.265, allocations: 25.7 kB / 0.7346 GB, free: 3.383 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/1.265, allocations: 410.9 kB / 0.735 GB, free: 2.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/1.265, allocations: 31.55 kB / 0.735 GB, free: 2.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/1.265, allocations: 12 kB / 0.735 GB, free: 2.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.266, allocations: 321.9 kB / 0.7353 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/1.266, allocations: 111.9 kB / 0.7354 GB, free: 2.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/1.267, allocations: 349.8 kB / 0.7358 GB, free: 2.055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/1.268, allocations: 163.9 kB / 0.7359 GB, free: 1.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.268, allocations: 4 kB / 0.7359 GB, free: 1.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001767/1.269, allocations: 496 kB / 0.7364 GB, free: 1.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/1.269, allocations: 8 kB / 0.7364 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.269, allocations: 8.75 kB / 0.7364 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.524e-05/1.269, allocations: 8 kB / 0.7364 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/1.27, allocations: 99.83 kB / 0.7365 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/1.27, allocations: 15.94 kB / 0.7365 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.272, allocations: 131.2 kB / 0.7367 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/1.272, allocations: 20.61 kB / 0.7367 GB, free: 1.113 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006266/1.273, allocations: 229.6 kB / 0.7369 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/1.273, allocations: 79.06 kB / 0.737 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/1.273, allocations: 70.09 kB / 0.7371 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.273, allocations: 0 / 0.7371 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.273, allocations: 0 / 0.7371 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/1.273, allocations: 4 kB / 0.7371 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/1.276, allocations: 1.132 MB / 0.7382 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.276, allocations: 0 / 0.7382 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/1.276, allocations: 16 kB / 0.7382 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/1.276, allocations: 4 kB / 0.7382 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/1.276, allocations: 7.953 kB / 0.7382 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/1.276, allocations: 7.938 kB / 0.7382 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.276, allocations: 0 / 0.7382 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/1.276, allocations: 367.9 kB / 0.7385 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/1.277, allocations: 172.1 kB / 0.7387 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/1.277, allocations: 15.92 kB / 0.7387 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/1.278, allocations: 23.98 kB / 0.7388 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/1.278, allocations: 19.86 kB / 0.7388 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/1.278, allocations: 8.125 kB / 0.7388 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001409/1.279, allocations: 0.581 MB / 0.7393 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/1.279, allocations: 4 kB / 0.7393 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001123/1.28, allocations: 151.8 kB / 0.7395 GB, free: 14.02 MB / 0.5606 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 (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.001743/1.282, allocations: 1.615 MB / 0.7411 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009406/1.283, allocations: 237 kB / 0.7413 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.283, allocations: 0 / 0.7413 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/1.283, allocations: 47.91 kB / 0.7413 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/1.286, allocations: 362.5 kB / 0.7417 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.299, allocations: 8.482 MB / 0.75 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008893/1.3, allocations: 0.9567 MB / 0.7509 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001161/1.301, allocations: 142.2 kB / 0.751 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/1.302, allocations: 223.4 kB / 0.7513 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of SimCode: time 2.054e-06/1.302, allocations: 7.938 kB / 0.7513 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05923/1.361, allocations: 17.27 MB / 0.7681 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003511/1.362, allocations: 249.4 kB / 0.7684 GB, free: 460 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.865/5.227, allocations: 4 kB / 0.7684 GB, free: 456 kB / 0.5762 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/linux/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) Environment - environmentSimulation: