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.005148/0.005148, allocations: 99.34 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.002185/0.002185, allocations: 201.3 kB / 16.68 MB, free: 5.934 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8363/0.8363, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 68.48 kB / 0.5858 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 81.02 MB / 0.6649 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5009/0.6465, allocations: 187.3 MB / 0.8478 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.6623, allocations: 13.06 MB / 0.8605 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.6635, allocations: 34.56 kB / 0.8605 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.6648, allocations: 432.3 kB / 0.861 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.6674, allocations: 1.151 MB / 0.8621 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.6692, allocations: 0.7081 MB / 0.8628 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.6716, allocations: 1.998 MB / 0.8647 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.6728, allocations: 0.8448 MB / 0.8656 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00397/0.6768, allocations: 1.813 MB / 0.8673 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.6783, allocations: 0.6613 MB / 0.868 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.6784, allocations: 80 kB / 0.868 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.6802, allocations: 0.8692 MB / 0.8689 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.6806, allocations: 387 kB / 0.8693 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.6812, allocations: 0.5054 MB / 0.8698 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.6833, allocations: 1.501 MB / 0.8712 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6833, allocations: 0 / 0.8712 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6833, allocations: 0 / 0.8712 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.6833, allocations: 0 / 0.8712 GB, free: 11.11 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001859/0.6852, allocations: 1.273 MB / 0.8725 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6852, allocations: 9.109 kB / 0.8725 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.6854, allocations: 122.5 kB / 0.8726 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.6866, allocations: 223.2 kB / 0.8728 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.6877, allocations: 0.6786 MB / 0.8735 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.6878, allocations: 58 kB / 0.8735 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.6879, allocations: 76 kB / 0.8736 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.6893, allocations: 0.9326 MB / 0.8745 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.6893, allocations: 11.89 kB / 0.8745 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.6894, allocations: 35.98 kB / 0.8745 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.6895, allocations: 29.31 kB / 0.8746 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.6905, allocations: 0.6138 MB / 0.8752 GB, free: 6.875 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.004809/0.6953, allocations: 4.579 MB / 0.8796 GB, free: 2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.6961, allocations: 0.5354 MB / 0.8802 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.6964, allocations: 246.5 kB / 0.8804 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/0.6966, allocations: 101 kB / 0.8805 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6967, allocations: 51.05 kB / 0.8806 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.6967, allocations: 0 / 0.8806 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002862/0.6996, allocations: 1.619 MB / 0.8821 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.6997, allocations: 106.8 kB / 0.8822 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/0.7005, allocations: 0.7155 MB / 0.8829 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.7006, allocations: 33.7 kB / 0.883 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.701, allocations: 428.8 kB / 0.8834 GB, free: 14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.7011, allocations: 170.5 kB / 0.8835 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.7013, allocations: 122.3 kB / 0.8837 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7015, allocations: 334 kB / 0.884 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.7018, allocations: 181.2 kB / 0.8841 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/0.7023, allocations: 422.3 kB / 0.8845 GB, free: 12.69 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.7046, allocations: 1.172 MB / 0.8857 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7046, allocations: 0 / 0.8857 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001047/0.7057, allocations: 0.6722 MB / 0.8863 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.7057, allocations: 11.94 kB / 0.8864 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7057, allocations: 8 kB / 0.8864 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7058, allocations: 8 kB / 0.8864 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.7062, allocations: 127.8 kB / 0.8865 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.7062, allocations: 11.94 kB / 0.8865 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.7068, allocations: 27.81 kB / 0.8865 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.7068, allocations: 32.88 kB / 0.8866 GB, free: 10.52 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: 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.0003737/0.7072, allocations: 273.6 kB / 0.8868 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.7074, allocations: 91.38 kB / 0.8869 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.7076, allocations: 87.66 kB / 0.887 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.7076, allocations: 4 kB / 0.887 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.7076, allocations: 4 kB / 0.887 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007892/0.7084, allocations: 0.6988 MB / 0.8877 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.7108, allocations: 1.643 MB / 0.8893 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.7108, allocations: 4.812 kB / 0.8893 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.7113, allocations: 99.89 kB / 0.8894 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.7113, allocations: 8.5 kB / 0.8894 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.7113, allocations: 15.98 kB / 0.8894 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.7113, allocations: 11.94 kB / 0.8894 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7113, allocations: 8.75 kB / 0.8894 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.7125, allocations: 0.8971 MB / 0.8903 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.7128, allocations: 216.5 kB / 0.8905 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.7129, allocations: 12 kB / 0.8905 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.7133, allocations: 19.98 kB / 0.8905 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/0.7134, allocations: 43.78 kB / 0.8906 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.7135, allocations: 20.17 kB / 0.8906 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006259/0.7141, allocations: 0.5107 MB / 0.8911 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7141, allocations: 0 / 0.8911 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006705/0.7148, allocations: 199.9 kB / 0.8913 GB, free: 5.395 MB / 0.6544 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.001793/0.7166, allocations: 1.537 MB / 0.8928 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007894/0.7174, allocations: 485.2 kB / 0.8933 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.7174, allocations: 4 kB / 0.8933 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.7177, allocations: 216 kB / 0.8935 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.7198, allocations: 486.2 kB / 0.8939 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008504/0.7283, allocations: 6.623 MB / 0.9004 GB, free: 11.63 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/0.729, allocations: 1.02 MB / 0.9014 GB, free: 10.58 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006129/0.7296, allocations: 207 kB / 0.9016 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.73, allocations: 295.3 kB / 0.9019 GB, free: 10.09 MB / 0.67 GB Notification: Performance of SimCode: time 4.31e-07/0.7301, allocations: 0 / 0.9019 GB, free: 10.09 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05109/0.7811, allocations: 22.24 MB / 0.9236 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.641/10.42, allocations: 12.23 kB / 0.9236 GB, free: 4.191 MB / 0.6856 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)