Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_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.0007846/0.0007846, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008676/0.0008676, allocations: 168.7 kB / 15.95 MB, free: 204 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.318/1.318, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7377/0.7377, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 12 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4108, allocations: 81.57 MB / 0.5832 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1779/0.5888, allocations: 170.2 MB / 0.7494 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.6025, allocations: 12.08 MB / 0.7612 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.6035, allocations: 27.81 kB / 0.7612 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.6046, allocations: 282.2 kB / 0.7614 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.6065, allocations: 0.7114 MB / 0.7621 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.6081, allocations: 0.5551 MB / 0.7627 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.6101, allocations: 1.766 MB / 0.7644 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007031/0.6108, allocations: 0.491 MB / 0.7649 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.6138, allocations: 1.272 MB / 0.7661 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.6145, allocations: 486 kB / 0.7666 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.6146, allocations: 24 kB / 0.7666 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.6158, allocations: 0.5924 MB / 0.7672 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.616, allocations: 251.2 kB / 0.7674 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.6162, allocations: 165.3 kB / 0.7676 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008917/0.6171, allocations: 0.8223 MB / 0.7684 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6171, allocations: 0 / 0.7684 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6171, allocations: 0 / 0.7684 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.6171, allocations: 0 / 0.7684 GB, free: 2.344 MB / 0.5919 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.001225/0.6184, allocations: 0.9232 MB / 0.7693 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6184, allocations: 8.031 kB / 0.7693 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.6185, allocations: 102.5 kB / 0.7694 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/0.6194, allocations: 210.8 kB / 0.7696 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.6201, allocations: 0.5017 MB / 0.7701 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.6204, allocations: 109.2 kB / 0.7702 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.6205, allocations: 56 kB / 0.7703 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.6216, allocations: 0.7597 MB / 0.771 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.6216, allocations: 7.938 kB / 0.771 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.6217, allocations: 31.95 kB / 0.771 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.6217, allocations: 21 kB / 0.7711 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/0.6226, allocations: 475.3 kB / 0.7715 GB, free: 14.96 MB / 0.6075 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.003874/0.6265, allocations: 4.177 MB / 0.7756 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.6266, allocations: 114.4 kB / 0.7757 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.6267, allocations: 71.44 kB / 0.7758 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.6269, allocations: 97.09 kB / 0.7759 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.627, allocations: 34.56 kB / 0.7759 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.374e-06/0.627, allocations: 0 / 0.7759 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006412/0.6276, allocations: 248.5 kB / 0.7761 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.6277, allocations: 128.5 kB / 0.7762 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.6288, allocations: 0.837 MB / 0.7771 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.6289, allocations: 25.7 kB / 0.7771 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.6292, allocations: 398.9 kB / 0.7775 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.6292, allocations: 43.55 kB / 0.7775 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.6293, allocations: 4 kB / 0.7775 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6294, allocations: 322 kB / 0.7778 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.6297, allocations: 115.9 kB / 0.7779 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.6301, allocations: 345.9 kB / 0.7783 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.6304, allocations: 163.8 kB / 0.7784 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6304, allocations: 4 kB / 0.7784 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008263/0.6313, allocations: 496.2 kB / 0.7789 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.6313, allocations: 11.94 kB / 0.7789 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.6313, allocations: 11.98 kB / 0.7789 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.6314, allocations: 15.95 kB / 0.7789 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.6317, allocations: 96.61 kB / 0.779 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.6317, allocations: 19.98 kB / 0.779 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.6323, allocations: 131 kB / 0.7792 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.6324, allocations: 28 kB / 0.7792 GB, free: 6.609 MB / 0.6075 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.0002328/0.6326, allocations: 223.1 kB / 0.7794 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6327, allocations: 71.16 kB / 0.7795 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.6328, allocations: 74.56 kB / 0.7795 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6328, allocations: 0 / 0.7795 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.6329, allocations: 7.953 kB / 0.7796 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6329, allocations: 3.984 kB / 0.7796 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.6341, allocations: 1.121 MB / 0.7807 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6341, allocations: 12.02 kB / 0.7807 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.6342, allocations: 12 kB / 0.7807 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.6342, allocations: 4 kB / 0.7807 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.6342, allocations: 8 kB / 0.7807 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.6342, allocations: 11.92 kB / 0.7807 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6342, allocations: 0 / 0.7807 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.6345, allocations: 267.8 kB / 0.781 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.6346, allocations: 160.2 kB / 0.7811 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.6347, allocations: 15.98 kB / 0.7811 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.635, allocations: 19.98 kB / 0.7811 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.6351, allocations: 15.94 kB / 0.7812 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.6351, allocations: 11.95 kB / 0.7812 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007125/0.6358, allocations: 0.581 MB / 0.7817 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6358, allocations: 4 kB / 0.7817 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005062/0.6363, allocations: 151.8 kB / 0.7819 GB, free: 3.691 MB / 0.6075 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.0007777/0.6371, allocations: 0.8881 MB / 0.7828 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.6376, allocations: 233.1 kB / 0.783 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6376, allocations: 3.938 kB / 0.783 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.6377, allocations: 47.84 kB / 0.783 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.6391, allocations: 359.3 kB / 0.7834 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.6442, allocations: 3.855 MB / 0.7871 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.6446, allocations: 0.9372 MB / 0.788 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000459/0.6451, allocations: 138.1 kB / 0.7882 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.6453, allocations: 227.4 kB / 0.7884 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.6454, allocations: 0 / 0.7884 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.6756, allocations: 17.29 MB / 0.8053 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.6759, allocations: 242.9 kB / 0.8055 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.719, allocations: 0 / 0.8055 GB, free: 11.65 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) Environment - environmentSimulation: