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.001704/0.001704, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002024/0.002024, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.421/2.421, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.128/1.128, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005711/0.0005715, allocations: 12.67 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2782, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8581/1.136, allocations: 155.6 MB / 0.7392 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02629/1.163, allocations: 10.86 MB / 0.7498 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/1.165, allocations: 27.81 kB / 0.7498 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002722/1.168, allocations: 433.7 kB / 0.7502 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006179/1.174, allocations: 1.036 MB / 0.7513 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004569/1.178, allocations: 0.7975 MB / 0.752 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003413/1.182, allocations: 0.9079 MB / 0.7529 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/1.183, allocations: 0.4999 MB / 0.7534 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/1.188, allocations: 1.133 MB / 0.7545 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/1.19, allocations: 322.5 kB / 0.7548 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/1.19, allocations: 24 kB / 0.7548 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/1.193, allocations: 0.6084 MB / 0.7554 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006401/1.193, allocations: 231.3 kB / 0.7557 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005512/1.194, allocations: 165.3 kB / 0.7558 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/1.196, allocations: 0.8184 MB / 0.7566 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.196, allocations: 0 / 0.7566 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.865e-06/1.196, allocations: 0 / 0.7566 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.174e-05/1.196, allocations: 0 / 0.7566 GB, free: 15.25 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.002604/1.199, allocations: 0.9257 MB / 0.7575 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/1.199, allocations: 8.031 kB / 0.7575 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002812/1.199, allocations: 98.52 kB / 0.7576 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/1.201, allocations: 210.8 kB / 0.7578 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/1.203, allocations: 0.5017 MB / 0.7583 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005692/1.204, allocations: 109.2 kB / 0.7584 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/1.204, allocations: 56 kB / 0.7585 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/1.206, allocations: 0.7597 MB / 0.7592 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/1.206, allocations: 7.938 kB / 0.7592 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.206, allocations: 28 kB / 0.7593 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.897e-05/1.206, allocations: 32.94 kB / 0.7593 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/1.208, allocations: 467.3 kB / 0.7597 GB, free: 11.87 MB / 0.5762 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.007172/1.215, allocations: 4.179 MB / 0.7638 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/1.215, allocations: 98.44 kB / 0.7639 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.758e-05/1.216, allocations: 8 kB / 0.7639 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/1.216, allocations: 43.75 kB / 0.764 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 4.369e-06/1.216, allocations: 0 / 0.764 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.001329/1.217, allocations: 236.7 kB / 0.7642 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.217, allocations: 140.5 kB / 0.7643 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/1.219, allocations: 0.8331 MB / 0.7651 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/1.219, allocations: 33.7 kB / 0.7652 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/1.22, allocations: 398.9 kB / 0.7655 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/1.22, allocations: 43.53 kB / 0.7656 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/1.22, allocations: 7.938 kB / 0.7656 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.22, allocations: 322 kB / 0.7659 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/1.221, allocations: 111.9 kB / 0.766 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008838/1.222, allocations: 341.9 kB / 0.7663 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/1.222, allocations: 171.7 kB / 0.7665 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.222, allocations: 0 / 0.7665 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001979/1.224, allocations: 496.2 kB / 0.767 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/1.225, allocations: 8 kB / 0.767 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/1.225, allocations: 4 kB / 0.767 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.152e-05/1.225, allocations: 16.69 kB / 0.767 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/1.225, allocations: 96.77 kB / 0.7671 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/1.225, allocations: 19.88 kB / 0.7671 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.227, allocations: 128.8 kB / 0.7672 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/1.227, allocations: 28 kB / 0.7673 GB, free: 3.719 MB / 0.5762 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.000571/1.228, allocations: 229.6 kB / 0.7675 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/1.228, allocations: 67.16 kB / 0.7675 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/1.228, allocations: 74.09 kB / 0.7676 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.228, allocations: 4 kB / 0.7676 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.228, allocations: 0 / 0.7676 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.228, allocations: 3.953 kB / 0.7676 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/1.231, allocations: 1.127 MB / 0.7687 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.231, allocations: 4 kB / 0.7687 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/1.231, allocations: 27.92 kB / 0.7687 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/1.231, allocations: 4.469 kB / 0.7687 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.231, allocations: 0 / 0.7687 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/1.231, allocations: 4 kB / 0.7688 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.231, allocations: 4 kB / 0.7688 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/1.232, allocations: 367.2 kB / 0.7691 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/1.232, allocations: 172.2 kB / 0.7693 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/1.233, allocations: 7.984 kB / 0.7693 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/1.233, allocations: 23.98 kB / 0.7693 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/1.233, allocations: 19.94 kB / 0.7693 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/1.233, allocations: 4 kB / 0.7693 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001461/1.235, allocations: 0.581 MB / 0.7699 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/1.235, allocations: 0 / 0.7699 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001074/1.236, allocations: 159.8 kB / 0.77 GB, free: 0.6406 MB / 0.5762 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.002061/1.238, allocations: 1.61 MB / 0.7716 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001039/1.239, allocations: 241.2 kB / 0.7718 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.239, allocations: 0 / 0.7718 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/1.239, allocations: 47.86 kB / 0.7719 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.242, allocations: 368.7 kB / 0.7722 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.256, allocations: 8.482 MB / 0.7805 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.257, allocations: 0.9489 MB / 0.7815 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00126/1.259, allocations: 135.4 kB / 0.7816 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/1.259, allocations: 231.4 kB / 0.7818 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of SimCode: time 1.934e-06/1.259, allocations: 0 / 0.7818 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06022/1.319, allocations: 17.27 MB / 0.7987 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003723/1.32, allocations: 246 kB / 0.7989 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.317/4.637, allocations: 0 / 0.7989 GB, free: 3.148 MB / 0.6075 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: