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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009715/0.0009715, allocations: 193 kB / 16.14 MB, free: 6.695 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.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8382/0.8382, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 64.31 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 80.93 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3745/0.5143, allocations: 184.8 MB / 0.7643 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.5277, allocations: 13.06 MB / 0.7771 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007583/0.5284, allocations: 23.88 kB / 0.7771 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.5295, allocations: 342 kB / 0.7774 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.5312, allocations: 0.8674 MB / 0.7783 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.5325, allocations: 0.6113 MB / 0.7789 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.5343, allocations: 2.095 MB / 0.7809 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006509/0.5349, allocations: 0.5675 MB / 0.7815 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.5377, allocations: 1.588 MB / 0.783 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.5387, allocations: 0.5329 MB / 0.7835 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.426e-05/0.5388, allocations: 36 kB / 0.7836 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.5401, allocations: 0.9742 MB / 0.7845 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.5404, allocations: 259.3 kB / 0.7848 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.5407, allocations: 370 kB / 0.7851 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.5419, allocations: 1.18 MB / 0.7863 GB, free: 14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5419, allocations: 0 / 0.7863 GB, free: 14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5419, allocations: 0 / 0.7863 GB, free: 14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.5419, allocations: 4 kB / 0.7863 GB, free: 14 MB / 0.6075 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.001227/0.5431, allocations: 1.05 MB / 0.7873 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5432, allocations: 12.03 kB / 0.7873 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.5433, allocations: 106.4 kB / 0.7874 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.5441, allocations: 186.8 kB / 0.7876 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.5448, allocations: 0.5208 MB / 0.7881 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/0.5451, allocations: 105.2 kB / 0.7882 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.5452, allocations: 56 kB / 0.7883 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.5462, allocations: 0.7713 MB / 0.789 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.5462, allocations: 7.938 kB / 0.789 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.5463, allocations: 24 kB / 0.789 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.5463, allocations: 21 kB / 0.7891 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.5472, allocations: 471.3 kB / 0.7895 GB, free: 10.49 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.003282/0.5505, allocations: 4.163 MB / 0.7936 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.5506, allocations: 98.45 kB / 0.7937 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.509e-05/0.5507, allocations: 83.44 kB / 0.7937 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.5509, allocations: 93.09 kB / 0.7938 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.5509, allocations: 34.56 kB / 0.7939 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.5509, allocations: 4 kB / 0.7939 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005908/0.5515, allocations: 240.6 kB / 0.7941 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.5516, allocations: 128.5 kB / 0.7942 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009962/0.5526, allocations: 0.837 MB / 0.795 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.5526, allocations: 37.64 kB / 0.7951 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.5529, allocations: 398.9 kB / 0.7955 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.5529, allocations: 39.45 kB / 0.7955 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.553, allocations: 77.61 kB / 0.7956 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5532, allocations: 326 kB / 0.7959 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.5534, allocations: 107.9 kB / 0.796 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.5539, allocations: 345.9 kB / 0.7963 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.5544, allocations: 415 kB / 0.7967 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5544, allocations: 4 kB / 0.7967 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008486/0.5553, allocations: 497 kB / 0.7972 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5553, allocations: 8 kB / 0.7972 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5553, allocations: 8 kB / 0.7972 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5553, allocations: 8 kB / 0.7972 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.5556, allocations: 87.83 kB / 0.7973 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.5556, allocations: 24.14 kB / 0.7973 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.5563, allocations: 127.1 kB / 0.7974 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.5563, allocations: 24 kB / 0.7975 GB, free: 1.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.5565, allocations: 217.7 kB / 0.7977 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.5567, allocations: 79 kB / 0.7977 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-05/0.5568, allocations: 70.09 kB / 0.7978 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5568, allocations: 8 kB / 0.7978 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5568, allocations: 3.938 kB / 0.7978 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5568, allocations: 3.984 kB / 0.7978 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.558, allocations: 1.124 MB / 0.7989 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.558, allocations: 4 kB / 0.7989 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.5581, allocations: 16 kB / 0.7989 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5581, allocations: 0 / 0.7989 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5581, allocations: 11.94 kB / 0.799 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.5581, allocations: 11.92 kB / 0.799 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5581, allocations: 4.312 kB / 0.799 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.5584, allocations: 260 kB / 0.7992 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.5586, allocations: 168.1 kB / 0.7994 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.5587, allocations: 11.98 kB / 0.7994 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.559, allocations: 15.98 kB / 0.7994 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.5591, allocations: 19.88 kB / 0.7994 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.5591, allocations: 11.98 kB / 0.7994 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000733/0.5598, allocations: 0.5847 MB / 0.8 GB, free: 15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5598, allocations: 0 / 0.8 GB, free: 15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005207/0.5603, allocations: 155.8 kB / 0.8002 GB, free: 14.84 MB / 0.6231 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.0008617/0.5612, allocations: 0.8907 MB / 0.801 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004758/0.5617, allocations: 237 kB / 0.8013 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5617, allocations: 0 / 0.8013 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.5618, allocations: 43.91 kB / 0.8013 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5632, allocations: 359.8 kB / 0.8016 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.5699, allocations: 5.797 MB / 0.8073 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.5704, allocations: 0.937 MB / 0.8082 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004483/0.5708, allocations: 146.2 kB / 0.8084 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.571, allocations: 227.4 kB / 0.8086 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.5711, allocations: 3.938 kB / 0.8086 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3425/0.9136, allocations: 17.16 MB / 0.8253 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.9139, allocations: 271.8 kB / 0.8256 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.97, allocations: 0 / 0.8256 GB, free: 4.715 MB / 0.6387 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)