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.005243/0.005243, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.001129/0.00113, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7641/0.7641, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.08 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1517, allocations: 80.93 MB / 0.6641 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5933/0.745, allocations: 190.3 MB / 0.85 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.7562, allocations: 5.675 MB / 0.8556 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.7579, allocations: 40.59 kB / 0.8556 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.7597, allocations: 0.5825 MB / 0.8562 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.7645, allocations: 1.659 MB / 0.8578 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.7679, allocations: 1.221 MB / 0.859 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003353/0.7712, allocations: 2.509 MB / 0.8614 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.773, allocations: 0.9907 MB / 0.8624 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.7758, allocations: 1.067 MB / 0.8634 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.7779, allocations: 0.8219 MB / 0.8643 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.7782, allocations: 100 kB / 0.8643 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/0.7818, allocations: 1.528 MB / 0.8658 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007218/0.7826, allocations: 498.7 kB / 0.8663 GB, free: 444 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.7838, allocations: 0.6223 MB / 0.8669 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.7874, allocations: 2.107 MB / 0.869 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7874, allocations: 0 / 0.869 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7874, allocations: 0 / 0.869 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.887e-05/0.7875, allocations: 0 / 0.869 GB, free: 13.7 MB / 0.6387 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.002817/0.7903, allocations: 1.488 MB / 0.8704 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.7904, allocations: 9.109 kB / 0.8704 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.7906, allocations: 135.2 kB / 0.8706 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.7926, allocations: 334.3 kB / 0.8709 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.7941, allocations: 0.8077 MB / 0.8717 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.7941, allocations: 65.94 kB / 0.8717 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.7943, allocations: 91.92 kB / 0.8718 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.796, allocations: 1.069 MB / 0.8729 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.796, allocations: 4 kB / 0.8729 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.7961, allocations: 39.94 kB / 0.8729 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.7962, allocations: 37.98 kB / 0.873 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.7977, allocations: 0.8274 MB / 0.8738 GB, free: 8.656 MB / 0.6387 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.005536/0.8032, allocations: 4.254 MB / 0.8779 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.8038, allocations: 379.4 kB / 0.8783 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.8042, allocations: 212 kB / 0.8785 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.8044, allocations: 101.1 kB / 0.8786 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.8044, allocations: 38.56 kB / 0.8786 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.8044, allocations: 0 / 0.8786 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002821/0.8073, allocations: 1.33 MB / 0.8799 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.8073, allocations: 55.41 kB / 0.88 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.8089, allocations: 1.008 MB / 0.8809 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/0.809, allocations: 33.7 kB / 0.881 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.8094, allocations: 0.4914 MB / 0.8815 GB, free: 372 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.8095, allocations: 146 kB / 0.8816 GB, free: 224 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.8098, allocations: 126.1 kB / 0.8817 GB, free: 88 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8099, allocations: 326 kB / 0.882 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.8104, allocations: 241.2 kB / 0.8823 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006446/0.8111, allocations: 425.6 kB / 0.8827 GB, free: 15.03 MB / 0.6544 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.002443/0.8135, allocations: 1.219 MB / 0.8839 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8136, allocations: 0 / 0.8839 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001433/0.815, allocations: 0.7691 MB / 0.8846 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.815, allocations: 7.938 kB / 0.8846 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.8151, allocations: 8 kB / 0.8846 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.8151, allocations: 8 kB / 0.8846 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.8157, allocations: 151.7 kB / 0.8848 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.8157, allocations: 12 kB / 0.8848 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.8165, allocations: 54.05 kB / 0.8848 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.8166, allocations: 28 kB / 0.8849 GB, free: 12.68 MB / 0.6544 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.0004514/0.8171, allocations: 314.8 kB / 0.8852 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.8173, allocations: 110.8 kB / 0.8853 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.8175, allocations: 101 kB / 0.8854 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.8175, allocations: 4 kB / 0.8854 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8175, allocations: 0 / 0.8854 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006676/0.8182, allocations: 0.6757 MB / 0.886 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.8206, allocations: 1.586 MB / 0.8876 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.8206, allocations: 4 kB / 0.8876 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.821, allocations: 87.89 kB / 0.8877 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.8211, allocations: 4 kB / 0.8877 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.8211, allocations: 15.94 kB / 0.8877 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.8211, allocations: 15.92 kB / 0.8877 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8211, allocations: 7.938 kB / 0.8877 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.8222, allocations: 0.8412 MB / 0.8885 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.8226, allocations: 243.8 kB / 0.8888 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.8227, allocations: 16 kB / 0.8888 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.8234, allocations: 33.66 kB / 0.8888 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.8235, allocations: 31.98 kB / 0.8888 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.8235, allocations: 39.97 kB / 0.8889 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001056/0.8246, allocations: 0.7077 MB / 0.8896 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8246, allocations: 0 / 0.8896 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008849/0.8255, allocations: 260 kB / 0.8898 GB, free: 7.301 MB / 0.6544 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.001711/0.8272, allocations: 1.491 MB / 0.8913 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009104/0.8281, allocations: 0.4931 MB / 0.8918 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.8281, allocations: 448 / 0.8918 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.8284, allocations: 195.7 kB / 0.8919 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.8308, allocations: 0.6182 MB / 0.8925 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.8418, allocations: 7.596 MB / 0.9 GB, free: 12.48 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.843, allocations: 1.099 MB / 0.901 GB, free: 11.36 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001021/0.844, allocations: 244.3 kB / 0.9013 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/0.8446, allocations: 339.3 kB / 0.9016 GB, free: 10.78 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.8446, allocations: 0 / 0.9016 GB, free: 10.78 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0591/0.9037, allocations: 27.85 MB / 0.9288 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.434/10.34, allocations: 20.69 kB / 0.9288 GB, free: 15.27 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)