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.005905/0.005905, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001216/0.001216, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7482/0.7482, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 60.25 kB / 0.5809 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1697, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6195/0.7892, allocations: 187.3 MB / 0.8421 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.8039, allocations: 13.05 MB / 0.8548 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.8052, allocations: 31.62 kB / 0.8549 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.8066, allocations: 435.1 kB / 0.8553 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.8095, allocations: 1.21 MB / 0.8565 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.8112, allocations: 0.7017 MB / 0.8572 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002355/0.8135, allocations: 2.014 MB / 0.8591 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.8146, allocations: 0.8366 MB / 0.8599 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.8187, allocations: 1.875 MB / 0.8618 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.8203, allocations: 0.6701 MB / 0.8624 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.8205, allocations: 80 kB / 0.8625 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.8223, allocations: 0.877 MB / 0.8634 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.8226, allocations: 391 kB / 0.8637 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005203/0.8232, allocations: 0.4938 MB / 0.8642 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.8249, allocations: 1.507 MB / 0.8657 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.825, allocations: 3.938 kB / 0.8657 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.825, allocations: 0 / 0.8657 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.825, allocations: 0 / 0.8657 GB, free: 2.766 MB / 0.6231 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.001639/0.8266, allocations: 1.235 MB / 0.8669 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.8267, allocations: 12.03 kB / 0.8669 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.8268, allocations: 122.5 kB / 0.867 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.8279, allocations: 210.7 kB / 0.8672 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.829, allocations: 0.687 MB / 0.8679 GB, free: 408 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.829, allocations: 58 kB / 0.8679 GB, free: 348 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.8292, allocations: 76 kB / 0.868 GB, free: 272 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.8304, allocations: 0.9297 MB / 0.8689 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.8304, allocations: 3.938 kB / 0.8689 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.8305, allocations: 36 kB / 0.869 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.8305, allocations: 25.31 kB / 0.869 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009216/0.8315, allocations: 0.6177 MB / 0.8696 GB, free: 14.57 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.003841/0.8353, allocations: 4.562 MB / 0.874 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.836, allocations: 0.5464 MB / 0.8746 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.8363, allocations: 245.3 kB / 0.8748 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.8365, allocations: 105.1 kB / 0.8749 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.8366, allocations: 43.19 kB / 0.875 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 5.31e-06/0.8366, allocations: 3.984 kB / 0.875 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45): time 0.002526/0.8391, allocations: 1.59 MB / 0.8765 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.8392, allocations: 114.8 kB / 0.8766 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007713/0.84, allocations: 0.7116 MB / 0.8773 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.84, allocations: 33.7 kB / 0.8773 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.8403, allocations: 419.7 kB / 0.8777 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.8404, allocations: 157.7 kB / 0.8779 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.8406, allocations: 118.2 kB / 0.878 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8407, allocations: 330 kB / 0.8783 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.841, allocations: 189.2 kB / 0.8785 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.8414, allocations: 425 kB / 0.8789 GB, free: 4.434 MB / 0.6387 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.002029/0.8435, allocations: 1.162 MB / 0.88 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8435, allocations: 0 / 0.88 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009105/0.8444, allocations: 0.6713 MB / 0.8807 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8444, allocations: 12.77 kB / 0.8807 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8444, allocations: 4 kB / 0.8807 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.8445, allocations: 16 kB / 0.8807 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.8449, allocations: 123.8 kB / 0.8809 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.8449, allocations: 15.94 kB / 0.8809 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.8454, allocations: 23.98 kB / 0.8809 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.8455, allocations: 24 kB / 0.8809 GB, free: 2.273 MB / 0.6387 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.000318/0.8458, allocations: 277.5 kB / 0.8812 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.8459, allocations: 83 kB / 0.8813 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.8461, allocations: 95.66 kB / 0.8813 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.8461, allocations: 4 kB / 0.8813 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8461, allocations: 0.875 kB / 0.8814 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006341/0.8467, allocations: 0.7076 MB / 0.882 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.8488, allocations: 1.65 MB / 0.8837 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8489, allocations: 4 kB / 0.8837 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.8494, allocations: 103.9 kB / 0.8838 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.8495, allocations: 4 kB / 0.8838 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.8495, allocations: 12.88 kB / 0.8838 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.8495, allocations: 11.94 kB / 0.8838 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.8496, allocations: 4 kB / 0.8838 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.8512, allocations: 0.8921 MB / 0.8847 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.8516, allocations: 200.2 kB / 0.8848 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.8517, allocations: 12.19 kB / 0.8849 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.8524, allocations: 27.98 kB / 0.8849 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.8525, allocations: 39.78 kB / 0.8849 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.8526, allocations: 23.98 kB / 0.8849 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009682/0.8536, allocations: 0.5107 MB / 0.8854 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8536, allocations: 0 / 0.8854 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009713/0.8546, allocations: 204 kB / 0.8856 GB, free: 13.15 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.002202/0.8568, allocations: 1.52 MB / 0.8871 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007567/0.8576, allocations: 487.8 kB / 0.8876 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.8576, allocations: 4 kB / 0.8876 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.8579, allocations: 209.2 kB / 0.8878 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.8606, allocations: 484.1 kB / 0.8883 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.8734, allocations: 6.587 MB / 0.8947 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009232/0.8743, allocations: 1.028 MB / 0.8957 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001172/0.8755, allocations: 199 kB / 0.8959 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/0.8762, allocations: 299.3 kB / 0.8962 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of SimCode: time 1.152e-06/0.8762, allocations: 0 / 0.8962 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06241/0.9386, allocations: 22.23 MB / 0.9179 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.791, allocations: 21.44 kB / 0.9179 GB, free: 12.03 MB / 0.6856 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)