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.01097/0.01097, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002112/0.002112, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.262/2.262, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.294/1.294, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 63.98 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2578, allocations: 80.2 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 1.025/1.283, allocations: 187.1 MB / 0.8419 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02498/1.308, allocations: 13.02 MB / 0.8546 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/1.311, allocations: 32.38 kB / 0.8547 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/1.313, allocations: 410.4 kB / 0.855 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00468/1.318, allocations: 0.9205 MB / 0.8559 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003336/1.321, allocations: 0.7092 MB / 0.8566 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003621/1.325, allocations: 1.491 MB / 0.8581 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/1.326, allocations: 0.6462 MB / 0.8587 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005919/1.332, allocations: 1.736 MB / 0.8604 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/1.335, allocations: 0.5078 MB / 0.8609 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/1.335, allocations: 53.67 kB / 0.861 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/1.338, allocations: 0.8714 MB / 0.8618 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004964/1.338, allocations: 281.3 kB / 0.8621 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007278/1.339, allocations: 386.3 kB / 0.8625 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/1.342, allocations: 1.179 MB / 0.8636 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/1.342, allocations: 0 / 0.8636 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.416e-06/1.342, allocations: 0.9375 kB / 0.8636 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.722e-05/1.342, allocations: 3.094 kB / 0.8636 GB, free: 2.113 MB / 0.6387 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.002092/1.344, allocations: 1.055 MB / 0.8646 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/1.344, allocations: 7.406 kB / 0.8646 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/1.344, allocations: 102.4 kB / 0.8647 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/1.346, allocations: 188.6 kB / 0.8649 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/1.347, allocations: 0.5478 MB / 0.8655 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.654e-05/1.347, allocations: 50.66 kB / 0.8655 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.347, allocations: 56.38 kB / 0.8656 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/1.349, allocations: 0.7695 MB / 0.8663 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/1.349, allocations: 5.562 kB / 0.8663 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/1.349, allocations: 33.36 kB / 0.8663 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/1.349, allocations: 21.38 kB / 0.8664 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/1.35, allocations: 457.6 kB / 0.8668 GB, free: 0.7695 MB / 0.6387 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.005025/1.355, allocations: 4.389 MB / 0.8711 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/1.355, allocations: 107 kB / 0.8712 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/1.356, allocations: 72.7 kB / 0.8713 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/1.356, allocations: 95.78 kB / 0.8714 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/1.356, allocations: 40.5 kB / 0.8714 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 3.357e-06/1.356, allocations: 0 / 0.8714 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.001013/1.357, allocations: 244 kB / 0.8716 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.357, allocations: 132.7 kB / 0.8718 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/1.359, allocations: 0.8409 MB / 0.8726 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/1.359, allocations: 26.77 kB / 0.8726 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/1.359, allocations: 409.7 kB / 0.873 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/1.359, allocations: 39.3 kB / 0.873 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/1.359, allocations: 88.92 kB / 0.8731 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.359, allocations: 321.8 kB / 0.8734 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/1.36, allocations: 114.5 kB / 0.8735 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/1.36, allocations: 366.6 kB / 0.8739 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/1.361, allocations: 446.7 kB / 0.8743 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.361, allocations: 3.062 kB / 0.8743 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001301/1.363, allocations: 0.4962 MB / 0.8748 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.363, allocations: 12.62 kB / 0.8748 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.363, allocations: 8.688 kB / 0.8748 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/1.363, allocations: 11.06 kB / 0.8748 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/1.363, allocations: 97.86 kB / 0.8749 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/1.363, allocations: 13.56 kB / 0.8749 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/1.364, allocations: 115.6 kB / 0.875 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/1.364, allocations: 23.47 kB / 0.8751 GB, free: 11.54 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0004091/1.365, allocations: 231.9 kB / 0.8753 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/1.365, allocations: 77.12 kB / 0.8754 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/1.365, allocations: 74.12 kB / 0.8754 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/1.365, allocations: 2.75 kB / 0.8754 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.365, allocations: 0.875 kB / 0.8754 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.365, allocations: 3.906 kB / 0.8754 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/1.367, allocations: 1.119 MB / 0.8765 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.367, allocations: 3.406 kB / 0.8765 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/1.367, allocations: 17.09 kB / 0.8765 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/1.367, allocations: 5.938 kB / 0.8765 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/1.367, allocations: 7.375 kB / 0.8766 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/1.367, allocations: 9.281 kB / 0.8766 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.367, allocations: 3.625 kB / 0.8766 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/1.368, allocations: 256.6 kB / 0.8768 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/1.368, allocations: 175.9 kB / 0.877 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.368, allocations: 10.19 kB / 0.877 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/1.368, allocations: 18.06 kB / 0.877 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/1.368, allocations: 15.08 kB / 0.877 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.369, allocations: 5.719 kB / 0.877 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001129/1.37, allocations: 0.5877 MB / 0.8776 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/1.37, allocations: 5.062 kB / 0.8776 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000987/1.371, allocations: 154.4 kB / 0.8778 GB, free: 10.27 MB / 0.6544 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.001295/1.372, allocations: 0.8996 MB / 0.8786 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007605/1.373, allocations: 244.8 kB / 0.8789 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.373, allocations: 3.562 kB / 0.8789 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/1.373, allocations: 44.8 kB / 0.8789 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/1.375, allocations: 380.3 kB / 0.8793 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.387, allocations: 5.432 MB / 0.8846 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008398/1.388, allocations: 0.935 MB / 0.8855 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008844/1.388, allocations: 149 kB / 0.8856 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/1.389, allocations: 237.6 kB / 0.8859 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/1.389, allocations: 0 / 0.8859 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/1.454, allocations: 18.24 MB / 0.9037 GB, free: 15.48 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.59, allocations: 11.03 kB / 0.9037 GB, free: 15.48 MB / 0.67 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/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)