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.0007463/0.0007463, allocations: 92.78 kB / 15.36 MB, free: 0.7344 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.005362/0.005362, allocations: 168.5 kB / 16.26 MB, free: 6.68 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.372/1.372, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7687/0.7687, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.000496, allocations: 11.94 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4116, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1887/0.6004, allocations: 182.6 MB / 0.7621 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.6156, allocations: 12.95 MB / 0.7747 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009049/0.6165, allocations: 27.81 kB / 0.7747 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.6176, allocations: 346 kB / 0.7751 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.6202, allocations: 1.085 MB / 0.7761 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.6218, allocations: 0.6365 MB / 0.7767 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.6245, allocations: 2.769 MB / 0.7794 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.6254, allocations: 0.6985 MB / 0.7801 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.6287, allocations: 1.615 MB / 0.7817 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.6302, allocations: 0.6511 MB / 0.7823 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.6302, allocations: 39.94 kB / 0.7824 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.6319, allocations: 0.9741 MB / 0.7833 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.6323, allocations: 331 kB / 0.7836 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.6328, allocations: 475.3 kB / 0.7841 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.6343, allocations: 1.476 MB / 0.7855 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6343, allocations: 0 / 0.7855 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6343, allocations: 0 / 0.7855 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.6343, allocations: 4 kB / 0.7855 GB, free: 1.094 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.001542/0.6359, allocations: 1.044 MB / 0.7866 GB, free: 0 / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.6359, allocations: 12.08 kB / 0.7866 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.6361, allocations: 126.4 kB / 0.7867 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.6372, allocations: 214.6 kB / 0.7869 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/0.6382, allocations: 0.6364 MB / 0.7875 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.6382, allocations: 58 kB / 0.7876 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.6383, allocations: 83.91 kB / 0.7877 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.6396, allocations: 0.9341 MB / 0.7886 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.6397, allocations: 7.938 kB / 0.7886 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.6398, allocations: 32 kB / 0.7886 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.6398, allocations: 29.31 kB / 0.7886 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009505/0.6408, allocations: 0.6177 MB / 0.7892 GB, free: 13.12 MB / 0.6231 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.004145/0.6449, allocations: 4.586 MB / 0.7937 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.6456, allocations: 0.5415 MB / 0.7942 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.646, allocations: 250.4 kB / 0.7945 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.6462, allocations: 105 kB / 0.7946 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.6462, allocations: 43.19 kB / 0.7946 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.723e-06/0.6462, allocations: 0 / 0.7946 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002706/0.6489, allocations: 1.579 MB / 0.7962 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.649, allocations: 110.8 kB / 0.7963 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008422/0.6499, allocations: 0.7155 MB / 0.797 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.6499, allocations: 33.7 kB / 0.797 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.6502, allocations: 415.8 kB / 0.7974 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.6504, allocations: 165.6 kB / 0.7976 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.6505, allocations: 61.75 kB / 0.7976 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6506, allocations: 330 kB / 0.7979 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.6509, allocations: 185.2 kB / 0.7981 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.6514, allocations: 409 kB / 0.7985 GB, free: 3.047 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.002188/0.6536, allocations: 1.167 MB / 0.7996 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6536, allocations: 7.938 kB / 0.7996 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00101/0.6546, allocations: 0.6679 MB / 0.8003 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6546, allocations: 8 kB / 0.8003 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6547, allocations: 11.94 kB / 0.8003 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.6547, allocations: 8 kB / 0.8003 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.6552, allocations: 127.8 kB / 0.8004 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.6552, allocations: 15.92 kB / 0.8005 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.6558, allocations: 55.94 kB / 0.8005 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.6558, allocations: 24 kB / 0.8005 GB, free: 0.8477 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 sytem: 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.0003505/0.6562, allocations: 273.5 kB / 0.8008 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.6563, allocations: 79.06 kB / 0.8009 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.6565, allocations: 95.66 kB / 0.801 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6565, allocations: 4.094 kB / 0.801 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6566, allocations: 4 kB / 0.801 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000733/0.6573, allocations: 0.7037 MB / 0.8017 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.6596, allocations: 1.647 MB / 0.8033 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.6596, allocations: 8.094 kB / 0.8033 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.6601, allocations: 99.89 kB / 0.8034 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.6602, allocations: 4 kB / 0.8034 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/0.6602, allocations: 19.98 kB / 0.8034 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.6602, allocations: 15.88 kB / 0.8034 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.6603, allocations: 4 kB / 0.8034 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.6615, allocations: 0.8968 MB / 0.8043 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.6618, allocations: 204.2 kB / 0.8045 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.396e-05/0.6619, allocations: 12 kB / 0.8045 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.6624, allocations: 43.62 kB / 0.8045 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.6625, allocations: 43.84 kB / 0.8046 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.6625, allocations: 19.98 kB / 0.8046 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006072/0.6631, allocations: 0.5068 MB / 0.8051 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6632, allocations: 4 kB / 0.8051 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006994/0.6639, allocations: 204 kB / 0.8053 GB, free: 11.7 MB / 0.6387 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.001646/0.6655, allocations: 1.53 MB / 0.8068 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007482/0.6663, allocations: 468.7 kB / 0.8072 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6663, allocations: 0 / 0.8072 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.6666, allocations: 220 kB / 0.8074 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.6691, allocations: 451.1 kB / 0.8079 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009109/0.6782, allocations: 7.23 MB / 0.8149 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.6789, allocations: 1.04 MB / 0.8159 GB, free: 320 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007298/0.6796, allocations: 203 kB / 0.8161 GB, free: 112 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2434/0.923, allocations: 290.6 kB / 0.8164 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.072e-06/0.9231, allocations: 0 / 0.8164 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.962, allocations: 21.13 MB / 0.837 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.9622, allocations: 264.5 kB / 0.8373 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.222, allocations: 0 / 0.8373 GB, free: 212.3 MB / 0.6387 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)