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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8303/0.8303, allocations: 134 MB / 447.2 MB, free: 9.91 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.06 kB / 0.6193 GB, free: 6.996 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1828, allocations: 85.91 MB / 0.7032 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.624/0.8068, allocations: 165.4 MB / 0.8647 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.8231, allocations: 12 MB / 0.8765 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.8245, allocations: 47.62 kB / 0.8765 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.8259, allocations: 421.2 kB / 0.8769 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.8293, allocations: 1.209 MB / 0.8781 GB, free: 24 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.8312, allocations: 0.7291 MB / 0.8788 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002839/0.8341, allocations: 2.06 MB / 0.8808 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009646/0.835, allocations: 0.6216 MB / 0.8814 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004373/0.8394, allocations: 1.868 MB / 0.8832 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.8412, allocations: 0.7178 MB / 0.8839 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.8413, allocations: 80 kB / 0.884 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.843, allocations: 0.7442 MB / 0.8847 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.8435, allocations: 394.8 kB / 0.8851 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000507/0.844, allocations: 418.1 kB / 0.8855 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.8461, allocations: 1.491 MB / 0.887 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8461, allocations: 0 / 0.887 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8461, allocations: 0 / 0.887 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.8461, allocations: 4 kB / 0.887 GB, free: 6.887 MB / 0.6544 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.001949/0.8481, allocations: 1.192 MB / 0.8881 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.8481, allocations: 8.031 kB / 0.8881 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.731e-05/0.8482, allocations: 25.94 kB / 0.8882 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.8483, allocations: 122.5 kB / 0.8883 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.8495, allocations: 215.2 kB / 0.8885 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.8506, allocations: 0.6155 MB / 0.8891 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.8507, allocations: 54 kB / 0.8891 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.8508, allocations: 83.94 kB / 0.8892 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.8524, allocations: 1.062 MB / 0.8903 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.8524, allocations: 4 kB / 0.8903 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.8525, allocations: 28 kB / 0.8903 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.8525, allocations: 33.31 kB / 0.8903 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009982/0.8535, allocations: 0.6177 MB / 0.8909 GB, free: 2.652 MB / 0.6544 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.004246/0.8577, allocations: 3.723 MB / 0.8946 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/0.8585, allocations: 448.2 kB / 0.895 GB, free: 14.32 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.8588, allocations: 230.4 kB / 0.8952 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.8589, allocations: 27.92 kB / 0.8952 GB, free: 14.06 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.859, allocations: 42.55 kB / 0.8953 GB, free: 14.01 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/0.859, allocations: 4 kB / 0.8953 GB, free: 14.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.002842/0.8618, allocations: 1.527 MB / 0.8968 GB, free: 12.44 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.8619, allocations: 110.8 kB / 0.8969 GB, free: 12.31 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.8628, allocations: 0.7194 MB / 0.8976 GB, free: 11.58 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.8628, allocations: 37.7 kB / 0.8976 GB, free: 11.54 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.8632, allocations: 416.6 kB / 0.898 GB, free: 11.12 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.8634, allocations: 170.6 kB / 0.8982 GB, free: 10.96 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.8636, allocations: 114.3 kB / 0.8983 GB, free: 10.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8637, allocations: 334 kB / 0.8986 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.864, allocations: 185.2 kB / 0.8988 GB, free: 10.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.8647, allocations: 0.554 MB / 0.8993 GB, free: 9.645 MB / 0.67 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.002291/0.867, allocations: 1.095 MB / 0.9004 GB, free: 8.465 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.867, allocations: 4 kB / 0.9004 GB, free: 8.461 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001113/0.8681, allocations: 0.6794 MB / 0.9011 GB, free: 7.773 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.8681, allocations: 4 kB / 0.9011 GB, free: 7.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.8681, allocations: 8.781 kB / 0.9011 GB, free: 7.762 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.8681, allocations: 8 kB / 0.9011 GB, free: 7.754 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.8686, allocations: 135.8 kB / 0.9012 GB, free: 7.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.8687, allocations: 14.05 kB / 0.9012 GB, free: 7.609 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.8692, allocations: 36.75 kB / 0.9013 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.8692, allocations: 28 kB / 0.9013 GB, free: 7.547 MB / 0.67 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.0004376/0.8697, allocations: 277.5 kB / 0.9015 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.8699, allocations: 83.48 kB / 0.9016 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.8701, allocations: 95.66 kB / 0.9017 GB, free: 7.086 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8701, allocations: 7.938 kB / 0.9017 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.8701, allocations: 0 / 0.9017 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008311/0.8709, allocations: 0.695 MB / 0.9024 GB, free: 6.297 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.8734, allocations: 1.519 MB / 0.9039 GB, free: 4.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.8734, allocations: 8.094 kB / 0.9039 GB, free: 4.672 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.8739, allocations: 103.8 kB / 0.904 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.8739, allocations: 4 kB / 0.904 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.8739, allocations: 15.98 kB / 0.904 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.8739, allocations: 8 kB / 0.904 GB, free: 4.543 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.8739, allocations: 4.094 kB / 0.904 GB, free: 4.539 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.8751, allocations: 0.9087 MB / 0.9049 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.8754, allocations: 131.5 kB / 0.905 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.8755, allocations: 15.98 kB / 0.9051 GB, free: 3.426 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.8759, allocations: 19.94 kB / 0.9051 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.876, allocations: 43.81 kB / 0.9051 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.876, allocations: 20 kB / 0.9051 GB, free: 3.344 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006221/0.8766, allocations: 0.5107 MB / 0.9056 GB, free: 2.836 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8766, allocations: 0 / 0.9056 GB, free: 2.836 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007029/0.8773, allocations: 196 kB / 0.9058 GB, free: 2.645 MB / 0.67 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.001814/0.8791, allocations: 1.517 MB / 0.9073 GB, free: 1.074 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007861/0.8799, allocations: 465.5 kB / 0.9077 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8799, allocations: 0 / 0.9077 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.8802, allocations: 204.2 kB / 0.9079 GB, free: 432 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.8822, allocations: 484.4 kB / 0.9084 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008855/0.8911, allocations: 6.632 MB / 0.9149 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.8915, allocations: 436.9 kB / 0.9153 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000741/0.8923, allocations: 207 kB / 0.9155 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.8927, allocations: 295.3 kB / 0.9158 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of SimCode: time 8.11e-07/0.8927, allocations: 0 / 0.9158 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05691/0.9496, allocations: 24.28 MB / 0.9395 GB, free: 232 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.53, allocations: 3.938 kB / 0.9395 GB, free: 228 kB / 0.7012 GB " [Timeout remaining time 646] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.21693385206163] Failed to read output from testmodel.py, exit status != 0: 13.706313511007465 13.721703666 12.872387726 Calling exit ...