Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001029/0.001029, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009853/0.0009853, allocations: 201.7 kB / 16.26 MB, free: 6.617 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6849/0.6849, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 55.62 kB / 0.5013 GB, free: 9.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1252, allocations: 80.2 MB / 0.5797 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3471/0.4724, allocations: 184.8 MB / 0.7602 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.4848, allocations: 12.97 MB / 0.7728 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005385/0.4854, allocations: 27.81 kB / 0.7729 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009241/0.4863, allocations: 362 kB / 0.7732 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.4883, allocations: 1.078 MB / 0.7743 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.4895, allocations: 0.6411 MB / 0.7749 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.4912, allocations: 2.006 MB / 0.7768 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/0.492, allocations: 0.8102 MB / 0.7776 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.4945, allocations: 1.771 MB / 0.7794 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.4957, allocations: 0.7014 MB / 0.78 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.4958, allocations: 80 kB / 0.7801 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.4969, allocations: 0.904 MB / 0.781 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.4972, allocations: 391 kB / 0.7814 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.4976, allocations: 0.4976 MB / 0.7819 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.4989, allocations: 1.538 MB / 0.7834 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4989, allocations: 0 / 0.7834 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4989, allocations: 0 / 0.7834 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.4989, allocations: 0 / 0.7834 GB, free: 2.547 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001448/0.5004, allocations: 1.242 MB / 0.7846 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.5004, allocations: 8.031 kB / 0.7846 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.5006, allocations: 129.8 kB / 0.7847 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.5016, allocations: 210.6 kB / 0.7849 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.5024, allocations: 0.6363 MB / 0.7855 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.5025, allocations: 61.98 kB / 0.7856 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.5026, allocations: 83.94 kB / 0.7857 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.5037, allocations: 0.9343 MB / 0.7866 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.5037, allocations: 11.88 kB / 0.7866 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.5038, allocations: 28 kB / 0.7866 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.5039, allocations: 33.31 kB / 0.7866 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008317/0.5047, allocations: 0.606 MB / 0.7872 GB, free: 14.39 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.003464/0.5082, allocations: 4.585 MB / 0.7917 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.5088, allocations: 0.5425 MB / 0.7922 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.5091, allocations: 239.5 kB / 0.7925 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.5092, allocations: 105.1 kB / 0.7926 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.5093, allocations: 46.5 kB / 0.7926 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.542e-06/0.5093, allocations: 3.938 kB / 0.7926 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002309/0.5116, allocations: 1.572 MB / 0.7942 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.5117, allocations: 122.7 kB / 0.7943 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.5124, allocations: 0.7154 MB / 0.795 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.5124, allocations: 37.7 kB / 0.795 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.5127, allocations: 411.8 kB / 0.7954 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.5128, allocations: 161.7 kB / 0.7956 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.5129, allocations: 118.2 kB / 0.7957 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.513, allocations: 330 kB / 0.796 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.5133, allocations: 189.2 kB / 0.7962 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.5137, allocations: 409 kB / 0.7966 GB, free: 4.27 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.5156, allocations: 1.169 MB / 0.7977 GB, free: 3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5156, allocations: 0 / 0.7977 GB, free: 3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008495/0.5165, allocations: 0.6719 MB / 0.7984 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5165, allocations: 8 kB / 0.7984 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5165, allocations: 8.031 kB / 0.7984 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.5165, allocations: 15.94 kB / 0.7984 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.5169, allocations: 127.8 kB / 0.7985 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.517, allocations: 15.94 kB / 0.7985 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.5175, allocations: 54.05 kB / 0.7986 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.5175, allocations: 28 kB / 0.7986 GB, free: 2.07 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0002754/0.5178, allocations: 273.6 kB / 0.7989 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.518, allocations: 83 kB / 0.7989 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.5181, allocations: 97.72 kB / 0.799 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5181, allocations: 8.078 kB / 0.799 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5181, allocations: 0 / 0.799 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006076/0.5187, allocations: 0.6998 MB / 0.7997 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.5207, allocations: 1.645 MB / 0.8013 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.5208, allocations: 7.938 kB / 0.8013 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.5212, allocations: 96.39 kB / 0.8014 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.5212, allocations: 12 kB / 0.8014 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.5212, allocations: 19.98 kB / 0.8015 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.5212, allocations: 7.938 kB / 0.8015 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5212, allocations: 4 kB / 0.8015 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.5222, allocations: 0.8902 MB / 0.8023 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.5224, allocations: 208.1 kB / 0.8025 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.5225, allocations: 16 kB / 0.8026 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.523, allocations: 44.41 kB / 0.8026 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.523, allocations: 39.84 kB / 0.8026 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.5231, allocations: 15.98 kB / 0.8026 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005114/0.5236, allocations: 0.5107 MB / 0.8031 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5236, allocations: 4 kB / 0.8032 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005717/0.5242, allocations: 207.9 kB / 0.8034 GB, free: 12.93 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001397/0.5256, allocations: 1.521 MB / 0.8048 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007074/0.5263, allocations: 0.5193 MB / 0.8053 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.5263, allocations: 0 / 0.8053 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.5266, allocations: 222 kB / 0.8056 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.5284, allocations: 481.7 kB / 0.806 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.5358, allocations: 7.152 MB / 0.813 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.5363, allocations: 1.032 MB / 0.814 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005395/0.5369, allocations: 195 kB / 0.8142 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.5372, allocations: 299.3 kB / 0.8145 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.5372, allocations: 0 / 0.8145 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.782/1.319, allocations: 21.88 MB / 0.8358 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/1.32, allocations: 271.9 kB / 0.8361 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.275, allocations: 0 / 0.8361 GB, free: 11.32 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)