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.001012/0.001012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001012/0.001012, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6733/0.6733, allocations: 132.2 MB / 422.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.44 kB / 0.5014 GB, free: 9.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.13, allocations: 80.2 MB / 0.5797 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3812/0.5113, allocations: 184.6 MB / 0.76 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.5243, allocations: 12.91 MB / 0.7726 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005885/0.5249, allocations: 27.88 kB / 0.7726 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009607/0.5259, allocations: 358.1 kB / 0.773 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.5275, allocations: 0.8596 MB / 0.7738 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.5289, allocations: 0.6275 MB / 0.7744 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.5302, allocations: 1.498 MB / 0.7759 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006616/0.5309, allocations: 0.6226 MB / 0.7765 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.5335, allocations: 1.681 MB / 0.7781 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009895/0.5345, allocations: 0.5389 MB / 0.7787 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.411e-05/0.5346, allocations: 56 kB / 0.7787 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.5357, allocations: 0.9002 MB / 0.7796 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.5359, allocations: 283.1 kB / 0.7799 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.5363, allocations: 386.1 kB / 0.7802 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.5374, allocations: 1.207 MB / 0.7814 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5374, allocations: 0 / 0.7814 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5374, allocations: 3.938 kB / 0.7814 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.5374, allocations: 0 / 0.7814 GB, free: 4.758 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.001181/0.5386, allocations: 1.05 MB / 0.7824 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.5387, allocations: 8.031 kB / 0.7824 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.223e-05/0.5388, allocations: 102.5 kB / 0.7825 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.5396, allocations: 190.8 kB / 0.7827 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.5402, allocations: 0.5246 MB / 0.7832 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.5406, allocations: 101.2 kB / 0.7833 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.5406, allocations: 60 kB / 0.7834 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.5417, allocations: 0.7683 MB / 0.7841 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5417, allocations: 4 kB / 0.7841 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.5418, allocations: 24 kB / 0.7842 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.5418, allocations: 24.98 kB / 0.7842 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.5426, allocations: 471.3 kB / 0.7846 GB, free: 1.258 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.003186/0.5458, allocations: 4.175 MB / 0.7887 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5459, allocations: 102.4 kB / 0.7888 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/0.546, allocations: 71.5 kB / 0.7889 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.5462, allocations: 97.09 kB / 0.789 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.5462, allocations: 38.5 kB / 0.789 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5462, allocations: 0 / 0.789 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005527/0.5468, allocations: 236.9 kB / 0.7892 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.5468, allocations: 140.4 kB / 0.7894 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.5478, allocations: 0.833 MB / 0.7902 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.5478, allocations: 29.7 kB / 0.7902 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.5481, allocations: 395 kB / 0.7906 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.5481, allocations: 43.44 kB / 0.7906 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.5482, allocations: 85.59 kB / 0.7907 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.5483, allocations: 321.9 kB / 0.791 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.5486, allocations: 119.8 kB / 0.7911 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.549, allocations: 341.9 kB / 0.7915 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.5495, allocations: 415.3 kB / 0.7919 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5495, allocations: 4 kB / 0.7919 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008131/0.5504, allocations: 488.8 kB / 0.7923 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5504, allocations: 8 kB / 0.7923 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5504, allocations: 8.062 kB / 0.7923 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.5504, allocations: 12 kB / 0.7924 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.5507, allocations: 87.83 kB / 0.7924 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.5507, allocations: 19.81 kB / 0.7925 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.5513, allocations: 127.2 kB / 0.7926 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.5514, allocations: 27.98 kB / 0.7926 GB, free: 8.523 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.0002115/0.5516, allocations: 227.1 kB / 0.7928 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5517, allocations: 75.06 kB / 0.7929 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.493e-05/0.5518, allocations: 70.09 kB / 0.793 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5518, allocations: 0 / 0.793 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5518, allocations: 7.938 kB / 0.793 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.5518, allocations: 0 / 0.793 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.553, allocations: 1.124 MB / 0.7941 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.553, allocations: 7.984 kB / 0.7941 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.5531, allocations: 15.94 kB / 0.7941 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.5531, allocations: 4 kB / 0.7941 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5531, allocations: 8 kB / 0.7941 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5531, allocations: 4 kB / 0.7941 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5531, allocations: 0.75 kB / 0.7941 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.5533, allocations: 267.9 kB / 0.7944 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.5535, allocations: 172.1 kB / 0.7945 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.5536, allocations: 8 kB / 0.7945 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.5539, allocations: 19.97 kB / 0.7946 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.554, allocations: 7.938 kB / 0.7946 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.554, allocations: 12.88 kB / 0.7946 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007059/0.5547, allocations: 0.581 MB / 0.7951 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5547, allocations: 0 / 0.7951 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004523/0.5552, allocations: 163.8 kB / 0.7953 GB, free: 5.609 MB / 0.6075 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.0007352/0.5559, allocations: 0.8876 MB / 0.7962 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.5563, allocations: 237 kB / 0.7964 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5564, allocations: 4 kB / 0.7964 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.5564, allocations: 47.84 kB / 0.7964 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.5578, allocations: 391.6 kB / 0.7968 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/0.5643, allocations: 5.784 MB / 0.8025 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.5647, allocations: 0.9409 MB / 0.8034 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003989/0.5651, allocations: 138 kB / 0.8035 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.5654, allocations: 223.4 kB / 0.8037 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.5654, allocations: 0 / 0.8037 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/1.915, allocations: 17.54 MB / 0.8209 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/1.915, allocations: 272.6 kB / 0.8211 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/3.931, allocations: 0 / 0.8211 GB, free: 11.15 MB / 0.6387 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)