Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001257/0.001257, allocations: 192.3 kB / 16.13 MB, free: 6.711 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.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8255/0.8255, allocations: 135.1 MB / 425.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 63.98 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.128, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3751/0.5031, allocations: 185 MB / 0.7645 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.5172, allocations: 13.12 MB / 0.7773 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.5184, allocations: 31.81 kB / 0.7773 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.5196, allocations: 350 kB / 0.7777 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.5225, allocations: 1.089 MB / 0.7787 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.5242, allocations: 0.625 MB / 0.7793 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00266/0.5268, allocations: 2.778 MB / 0.782 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009444/0.5278, allocations: 0.7192 MB / 0.7827 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.5311, allocations: 1.658 MB / 0.7844 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.5324, allocations: 0.6973 MB / 0.785 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.5325, allocations: 48 kB / 0.7851 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.5342, allocations: 0.9781 MB / 0.786 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.5345, allocations: 355 kB / 0.7864 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.5351, allocations: 469.5 kB / 0.7868 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.5368, allocations: 1.495 MB / 0.7883 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5368, allocations: 0 / 0.7883 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5368, allocations: 0 / 0.7883 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.827e-05/0.5369, allocations: 0 / 0.7883 GB, free: 11.92 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001864/0.5388, allocations: 1.233 MB / 0.7895 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.5388, allocations: 12.03 kB / 0.7895 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.5389, allocations: 126.5 kB / 0.7896 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.5401, allocations: 214.6 kB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008916/0.541, allocations: 0.6363 MB / 0.7905 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.541, allocations: 58 kB / 0.7905 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.5411, allocations: 79.98 kB / 0.7906 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.5424, allocations: 0.9288 MB / 0.7915 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.5424, allocations: 7.938 kB / 0.7915 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.5425, allocations: 32 kB / 0.7915 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.5425, allocations: 29.31 kB / 0.7916 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009486/0.5435, allocations: 0.6177 MB / 0.7922 GB, free: 7.773 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.003743/0.5472, allocations: 4.585 MB / 0.7966 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.5479, allocations: 0.5388 MB / 0.7972 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.5482, allocations: 249 kB / 0.7974 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.5484, allocations: 101.1 kB / 0.7975 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.5484, allocations: 46.5 kB / 0.7975 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.5484, allocations: 0 / 0.7975 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.00254/0.551, allocations: 1.571 MB / 0.7991 GB, free: 272 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.5511, allocations: 122.7 kB / 0.7992 GB, free: 124 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/0.5518, allocations: 0.7116 MB / 0.7999 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.5519, allocations: 33.7 kB / 0.7999 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.5522, allocations: 423.7 kB / 0.8003 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.5523, allocations: 161.7 kB / 0.8005 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.5525, allocations: 118.2 kB / 0.8006 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5526, allocations: 330 kB / 0.8009 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.5529, allocations: 193.1 kB / 0.8011 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.5534, allocations: 405.1 kB / 0.8015 GB, free: 13.65 MB / 0.6231 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.002137/0.5555, allocations: 1.183 MB / 0.8026 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5555, allocations: 0 / 0.8026 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009424/0.5565, allocations: 0.6674 MB / 0.8033 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5565, allocations: 8.781 kB / 0.8033 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5565, allocations: 4 kB / 0.8033 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.5566, allocations: 16 kB / 0.8033 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.557, allocations: 123.8 kB / 0.8034 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.557, allocations: 15.94 kB / 0.8034 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005811/0.5576, allocations: 43.88 kB / 0.8035 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.5577, allocations: 40 kB / 0.8035 GB, free: 11.45 MB / 0.6231 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.0003561/0.558, allocations: 273.5 kB / 0.8038 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.5582, allocations: 83 kB / 0.8039 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.5583, allocations: 87.66 kB / 0.8039 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.5584, allocations: 8 kB / 0.804 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5584, allocations: 3.938 kB / 0.804 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006631/0.559, allocations: 0.695 MB / 0.8046 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.5613, allocations: 1.646 MB / 0.8062 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5613, allocations: 7.938 kB / 0.8063 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.5617, allocations: 99.83 kB / 0.8063 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.5617, allocations: 8.5 kB / 0.8064 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.5618, allocations: 19.98 kB / 0.8064 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5618, allocations: 4 kB / 0.8064 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5618, allocations: 4 kB / 0.8064 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.5628, allocations: 0.8908 MB / 0.8073 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.5631, allocations: 212.1 kB / 0.8075 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.5632, allocations: 16 kB / 0.8075 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.5637, allocations: 39.88 kB / 0.8075 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.5638, allocations: 35.84 kB / 0.8075 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.5638, allocations: 19.98 kB / 0.8076 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000586/0.5644, allocations: 0.5107 MB / 0.8081 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5644, allocations: 0 / 0.8081 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006653/0.5651, allocations: 211.9 kB / 0.8083 GB, free: 6.312 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.001605/0.5667, allocations: 1.515 MB / 0.8097 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000728/0.5674, allocations: 483.7 kB / 0.8102 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5675, allocations: 0 / 0.8102 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.5677, allocations: 213.4 kB / 0.8104 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.5697, allocations: 465.4 kB / 0.8109 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008657/0.5784, allocations: 7.153 MB / 0.8178 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.579, allocations: 1.032 MB / 0.8188 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006745/0.5797, allocations: 203 kB / 0.819 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.58, allocations: 291.3 kB / 0.8193 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/0.5801, allocations: 0 / 0.8193 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4348/1.015, allocations: 21.34 MB / 0.8402 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/1.015, allocations: 278.6 kB / 0.8404 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/3.224, allocations: 4 kB / 0.8404 GB, free: 5.219 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)