Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_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.001101/0.0011, allocations: 92.31 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.001256/0.001256, 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.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9243/0.9243, allocations: 135.3 MB / 426.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003349, allocations: 12.22 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1683, allocations: 82.3 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5231/0.6915, allocations: 170.2 MB / 0.7536 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.7061, allocations: 12.09 MB / 0.7654 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.7073, allocations: 19.88 kB / 0.7655 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.7084, allocations: 282.1 kB / 0.7657 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.7104, allocations: 0.7114 MB / 0.7664 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.7121, allocations: 0.5613 MB / 0.767 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002219/0.7143, allocations: 1.773 MB / 0.7687 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007871/0.7151, allocations: 493.6 kB / 0.7692 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.7182, allocations: 1.284 MB / 0.7704 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008593/0.7191, allocations: 474 kB / 0.7709 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.7191, allocations: 24 kB / 0.7709 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.7205, allocations: 0.5964 MB / 0.7715 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.7208, allocations: 243.2 kB / 0.7717 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.721, allocations: 165.3 kB / 0.7719 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009454/0.722, allocations: 0.8261 MB / 0.7727 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.722, allocations: 4 kB / 0.7727 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.722, allocations: 0 / 0.7727 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.722, allocations: 0 / 0.7727 GB, free: 15.21 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.001273/0.7233, allocations: 0.9253 MB / 0.7736 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7233, allocations: 8.031 kB / 0.7736 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.7234, allocations: 106.5 kB / 0.7737 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008644/0.7243, allocations: 202.8 kB / 0.7739 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006979/0.725, allocations: 0.4979 MB / 0.7744 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.7253, allocations: 113.2 kB / 0.7745 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.7254, allocations: 63.55 kB / 0.7745 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.7265, allocations: 0.7597 MB / 0.7753 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.7266, allocations: 4 kB / 0.7753 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.7266, allocations: 35.94 kB / 0.7753 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.7267, allocations: 28.92 kB / 0.7754 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.7275, allocations: 471.3 kB / 0.7758 GB, free: 11.82 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.003791/0.7313, allocations: 4.166 MB / 0.7799 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.7315, allocations: 114.4 kB / 0.78 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.7316, allocations: 71.48 kB / 0.78 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.7318, allocations: 101.1 kB / 0.7801 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.7318, allocations: 38.44 kB / 0.7802 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.7318, allocations: 0 / 0.7802 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006185/0.7325, allocations: 240.7 kB / 0.7804 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.7326, allocations: 140.7 kB / 0.7805 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.7336, allocations: 0.8289 MB / 0.7814 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.7336, allocations: 37.7 kB / 0.7814 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.7339, allocations: 394.9 kB / 0.7818 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.734, allocations: 39.55 kB / 0.7818 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.734, allocations: 4 kB / 0.7818 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7341, allocations: 326 kB / 0.7821 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.7344, allocations: 111.9 kB / 0.7822 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.7348, allocations: 345.9 kB / 0.7826 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.7352, allocations: 163.9 kB / 0.7827 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.7352, allocations: 8 kB / 0.7827 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008527/0.7361, allocations: 492.1 kB / 0.7832 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7361, allocations: 8.75 kB / 0.7832 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.7361, allocations: 8 kB / 0.7832 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.7361, allocations: 19.95 kB / 0.7832 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.7364, allocations: 91.83 kB / 0.7833 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.7365, allocations: 19.92 kB / 0.7833 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.7371, allocations: 131.1 kB / 0.7835 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.7371, allocations: 24 kB / 0.7835 GB, free: 3.488 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.7374, allocations: 221.6 kB / 0.7837 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.7375, allocations: 75.14 kB / 0.7838 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.7377, allocations: 70.11 kB / 0.7838 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.7377, allocations: 3.984 kB / 0.7838 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.7377, allocations: 7.953 kB / 0.7838 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7377, allocations: 4 kB / 0.7838 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.7389, allocations: 1.12 MB / 0.7849 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.739, allocations: 4 kB / 0.7849 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.739, allocations: 19.94 kB / 0.785 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.7391, allocations: 7.984 kB / 0.785 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.7391, allocations: 5.125 kB / 0.785 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.7391, allocations: 4 kB / 0.785 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7391, allocations: 4.453 kB / 0.785 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.7394, allocations: 280 kB / 0.7852 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.7396, allocations: 168.2 kB / 0.7854 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.838e-05/0.7397, allocations: 7.984 kB / 0.7854 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.74, allocations: 19.98 kB / 0.7854 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.74, allocations: 23.97 kB / 0.7855 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.74, allocations: 8.828 kB / 0.7855 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007745/0.7408, allocations: 0.581 MB / 0.786 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7408, allocations: 0 / 0.786 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005461/0.7414, allocations: 155.8 kB / 0.7862 GB, free: 0.5547 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 (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.0008808/0.7423, allocations: 0.8817 MB / 0.787 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.7427, allocations: 233 kB / 0.7873 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7428, allocations: 0 / 0.7873 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.7428, allocations: 48.72 kB / 0.7873 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.7443, allocations: 364 kB / 0.7877 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/0.7497, allocations: 3.86 MB / 0.7914 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.7502, allocations: 0.9411 MB / 0.7923 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005007/0.7507, allocations: 138.1 kB / 0.7925 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.751, allocations: 227.3 kB / 0.7927 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.751, allocations: 8 kB / 0.7927 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.7834, allocations: 17.29 MB / 0.8096 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.7837, allocations: 243.8 kB / 0.8098 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.88, allocations: 2.188 kB / 0.8098 GB, free: 8.457 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) Environment - environmentSimulation: