Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.005114/0.005114, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001488/0.001488, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9025/0.9025, allocations: 135.6 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 63.89 kB / 0.5857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3314, allocations: 81.03 MB / 0.6649 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2024/0.5338, allocations: 190.3 MB / 0.8507 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008998/0.5429, allocations: 5.678 MB / 0.8563 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.5436, allocations: 39.75 kB / 0.8563 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.545, allocations: 0.563 MB / 0.8569 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.5483, allocations: 1.598 MB / 0.8584 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.551, allocations: 1.212 MB / 0.8596 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002839/0.5538, allocations: 2.51 MB / 0.8621 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.5551, allocations: 0.9926 MB / 0.863 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.5567, allocations: 1.031 MB / 0.864 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.5582, allocations: 0.8156 MB / 0.8648 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.5584, allocations: 104 kB / 0.8649 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.561, allocations: 1.516 MB / 0.8664 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005209/0.5615, allocations: 0.4948 MB / 0.8669 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.5622, allocations: 0.6261 MB / 0.8675 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.3308/0.893, allocations: 2.108 MB / 0.8696 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.893, allocations: 4.172 kB / 0.8696 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.893, allocations: 1 kB / 0.8696 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.8931, allocations: 0 / 0.8696 GB, free: 8.156 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002053/0.8951, allocations: 1.512 MB / 0.871 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.8952, allocations: 9.906 kB / 0.8711 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.8953, allocations: 143.5 kB / 0.8712 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.8971, allocations: 327 kB / 0.8715 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.8983, allocations: 0.8309 MB / 0.8723 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.8983, allocations: 62.97 kB / 0.8724 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.8985, allocations: 85.12 kB / 0.8725 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.9, allocations: 1.068 MB / 0.8735 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.9001, allocations: 4.75 kB / 0.8735 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-05/0.9002, allocations: 40.28 kB / 0.8735 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.9002, allocations: 35.48 kB / 0.8736 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.9016, allocations: 0.8248 MB / 0.8744 GB, free: 6.754 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.004297/0.9059, allocations: 4.266 MB / 0.8786 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.9064, allocations: 372 kB / 0.8789 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.9067, allocations: 213.3 kB / 0.8791 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.9069, allocations: 106 kB / 0.8792 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.9069, allocations: 39.94 kB / 0.8792 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.9069, allocations: 0.9062 kB / 0.8792 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of matching and sorting (n=38): time 0.002413/0.9093, allocations: 1.336 MB / 0.8806 GB, free: 19.92 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.9094, allocations: 56.62 kB / 0.8806 GB, free: 19.86 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.9107, allocations: 1.006 MB / 0.8816 GB, free: 19.7 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.9108, allocations: 36.92 kB / 0.8816 GB, free: 19.67 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.9111, allocations: 0.5026 MB / 0.8821 GB, free: 19.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.9112, allocations: 145.6 kB / 0.8823 GB, free: 19.36 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.9114, allocations: 127.9 kB / 0.8824 GB, free: 19.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.9115, allocations: 329.3 kB / 0.8827 GB, free: 19.04 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.912, allocations: 235.2 kB / 0.8829 GB, free: 19.04 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.9125, allocations: 433.3 kB / 0.8833 GB, free: 18.82 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.9146, allocations: 1.205 MB / 0.8845 GB, free: 18.52 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9146, allocations: 4.719 kB / 0.8845 GB, free: 18.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001244/0.9159, allocations: 0.777 MB / 0.8853 GB, free: 18.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.9159, allocations: 7.562 kB / 0.8853 GB, free: 18.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.9159, allocations: 6.344 kB / 0.8853 GB, free: 18.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.916, allocations: 10.16 kB / 0.8853 GB, free: 18.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.9165, allocations: 146.4 kB / 0.8854 GB, free: 18.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.9165, allocations: 12.19 kB / 0.8854 GB, free: 18.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/0.9173, allocations: 54.47 kB / 0.8855 GB, free: 18.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.9173, allocations: 31.17 kB / 0.8855 GB, free: 18.43 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003501/0.9177, allocations: 314.6 kB / 0.8858 GB, free: 18.31 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.9179, allocations: 106.3 kB / 0.8859 GB, free: 18.26 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.918, allocations: 104.2 kB / 0.886 GB, free: 18.24 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.918, allocations: 3.625 kB / 0.886 GB, free: 18.24 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.918, allocations: 0.9375 kB / 0.886 GB, free: 18.24 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006111/0.9187, allocations: 0.6762 MB / 0.8867 GB, free: 17.8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.9207, allocations: 1.591 MB / 0.8882 GB, free: 17.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.9207, allocations: 3.562 kB / 0.8882 GB, free: 17.35 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.9211, allocations: 84.25 kB / 0.8883 GB, free: 17.35 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.9211, allocations: 9.531 kB / 0.8883 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.9211, allocations: 17.31 kB / 0.8884 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.9211, allocations: 9.25 kB / 0.8884 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.9211, allocations: 7.781 kB / 0.8884 GB, free: 17.34 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000928/0.9221, allocations: 0.8505 MB / 0.8892 GB, free: 17.02 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.9224, allocations: 248.5 kB / 0.8894 GB, free: 16.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.9225, allocations: 12.72 kB / 0.8894 GB, free: 16.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.9231, allocations: 37.86 kB / 0.8895 GB, free: 16.88 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.9232, allocations: 35.53 kB / 0.8895 GB, free: 16.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.9232, allocations: 32.53 kB / 0.8895 GB, free: 16.87 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008868/0.9241, allocations: 0.7056 MB / 0.8902 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9241, allocations: 0 / 0.8902 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007869/0.9249, allocations: 262 kB / 0.8905 GB, free: 16.76 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001544/0.9265, allocations: 1.5 MB / 0.892 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008103/0.9273, allocations: 0.5004 MB / 0.8924 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.9273, allocations: 2.062 kB / 0.8924 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.9275, allocations: 191.7 kB / 0.8926 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.93, allocations: 0.6186 MB / 0.8932 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00846/0.9385, allocations: 7.621 MB / 0.9007 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.9391, allocations: 1.096 MB / 0.9017 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007017/0.9398, allocations: 244.4 kB / 0.902 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.9402, allocations: 345.9 kB / 0.9023 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.9402, allocations: 0 / 0.9023 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.713/2.653, allocations: 27.85 MB / 0.9295 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/15.31, allocations: 17.86 kB / 0.9295 GB, free: 6.664 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)