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.005533/0.005533, allocations: 101.9 kB / 15.73 MB, free: 6.031 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.001226/0.001226, allocations: 197.9 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9937/0.9937, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4417, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2144/0.6562, allocations: 187.1 MB / 0.8469 GB, free: 5.781 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.6722, allocations: 13.01 MB / 0.8596 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.6736, allocations: 27.88 kB / 0.8596 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.6752, allocations: 413.3 kB / 0.86 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.6778, allocations: 0.9097 MB / 0.8609 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.6797, allocations: 0.709 MB / 0.8616 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.6815, allocations: 1.5 MB / 0.8631 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008182/0.6823, allocations: 0.6585 MB / 0.8637 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.6857, allocations: 1.724 MB / 0.8654 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.6869, allocations: 0.5071 MB / 0.8659 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.781e-05/0.687, allocations: 56 kB / 0.8659 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.6885, allocations: 0.8653 MB / 0.8668 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.6888, allocations: 287.1 kB / 0.8671 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.6891, allocations: 386 kB / 0.8674 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4743/1.163, allocations: 1.172 MB / 0.8686 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/1.163, allocations: 0 / 0.8686 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.983e-06/1.163, allocations: 0 / 0.8686 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.2e-05/1.164, allocations: 0.8438 kB / 0.8686 GB, free: 6.203 MB / 0.6856 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.001679/1.165, allocations: 1.051 MB / 0.8696 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.165, allocations: 9.219 kB / 0.8696 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/1.165, allocations: 102.3 kB / 0.8697 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009741/1.166, allocations: 187.5 kB / 0.8699 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/1.167, allocations: 0.5508 MB / 0.8704 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/1.167, allocations: 45 kB / 0.8705 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/1.167, allocations: 58.03 kB / 0.8705 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.169, allocations: 0.7766 MB / 0.8713 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/1.169, allocations: 5.75 kB / 0.8713 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/1.169, allocations: 30.75 kB / 0.8713 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/1.169, allocations: 25.23 kB / 0.8713 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/1.17, allocations: 466.2 kB / 0.8718 GB, free: 4.98 MB / 0.6856 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.003815/1.174, allocations: 4.375 MB / 0.8761 GB, free: 17.66 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/1.174, allocations: 105.9 kB / 0.8762 GB, free: 17.57 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/1.174, allocations: 73.25 kB / 0.8762 GB, free: 17.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/1.174, allocations: 95.88 kB / 0.8763 GB, free: 17.45 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/1.174, allocations: 39.25 kB / 0.8764 GB, free: 17.41 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/1.174, allocations: 2.109 kB / 0.8764 GB, free: 17.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006819/1.175, allocations: 239.4 kB / 0.8766 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/1.175, allocations: 132.4 kB / 0.8767 GB, free: 17.18 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.176, allocations: 0.8491 MB / 0.8775 GB, free: 17.04 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/1.176, allocations: 30.17 kB / 0.8776 GB, free: 17.01 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/1.176, allocations: 400.9 kB / 0.8779 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/1.176, allocations: 44.53 kB / 0.878 GB, free: 16.81 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/1.176, allocations: 91 kB / 0.8781 GB, free: 16.79 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.176, allocations: 327.9 kB / 0.8784 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/1.177, allocations: 110.9 kB / 0.8785 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/1.177, allocations: 360.5 kB / 0.8788 GB, free: 16.18 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/1.178, allocations: 438.6 kB / 0.8793 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.178, allocations: 2.562 kB / 0.8793 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009619/1.179, allocations: 0.498 MB / 0.8797 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.179, allocations: 8.812 kB / 0.8798 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.179, allocations: 7.844 kB / 0.8798 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/1.179, allocations: 11.88 kB / 0.8798 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/1.179, allocations: 98.95 kB / 0.8799 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/1.179, allocations: 14.75 kB / 0.8799 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/1.18, allocations: 112.6 kB / 0.88 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/1.18, allocations: 23.56 kB / 0.88 GB, free: 15.79 MB / 0.7012 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.0002612/1.18, allocations: 237.3 kB / 0.8802 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/1.18, allocations: 77.62 kB / 0.8803 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/1.18, allocations: 71.92 kB / 0.8804 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/1.18, allocations: 3.859 kB / 0.8804 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.18, allocations: 2.5 kB / 0.8804 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.18, allocations: 1.5 kB / 0.8804 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.182, allocations: 1.111 MB / 0.8815 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.182, allocations: 3.094 kB / 0.8815 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/1.182, allocations: 25.14 kB / 0.8815 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.182, allocations: 4.031 kB / 0.8815 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/1.182, allocations: 7.719 kB / 0.8815 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.182, allocations: 8.953 kB / 0.8815 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.182, allocations: 4.094 kB / 0.8815 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/1.182, allocations: 259.4 kB / 0.8818 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/1.182, allocations: 176.8 kB / 0.8819 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/1.182, allocations: 7.344 kB / 0.8819 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/1.183, allocations: 18.02 kB / 0.882 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/1.183, allocations: 12.7 kB / 0.882 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/1.183, allocations: 7.969 kB / 0.882 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009393/1.184, allocations: 0.588 MB / 0.8826 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/1.184, allocations: 2.266 kB / 0.8826 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007193/1.184, allocations: 155.1 kB / 0.8827 GB, free: 14.52 MB / 0.7012 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.0009957/1.185, allocations: 0.8886 MB / 0.8836 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005988/1.186, allocations: 246 kB / 0.8838 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.186, allocations: 1.5 kB / 0.8838 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/1.186, allocations: 50.16 kB / 0.8839 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.188, allocations: 381.9 kB / 0.8842 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/1.195, allocations: 5.431 MB / 0.8895 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/1.196, allocations: 0.9396 MB / 0.8904 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006825/1.197, allocations: 148.2 kB / 0.8906 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/1.197, allocations: 231.8 kB / 0.8908 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of SimCode: time 1.172e-06/1.197, allocations: 1.094 kB / 0.8908 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04243/1.239, allocations: 18.25 MB / 0.9086 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.66/9.899, allocations: 7.969 kB / 0.9086 GB, free: 9.52 MB / 0.7012 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/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)