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.001465/0.001465, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001542/0.001542, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8758/0.8758, allocations: 133.9 MB / 443.5 MB, free: 13.85 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.001982/0.001982, allocations: 64.3 kB / 0.6141 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 85.86 MB / 0.698 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.7189/0.8837, allocations: 190.8 MB / 0.8843 GB, free: 1.828 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.8976, allocations: 13.14 MB / 0.8971 GB, free: 1.68 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.899, allocations: 44.66 kB / 0.8972 GB, free: 1.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.9003, allocations: 446.8 kB / 0.8976 GB, free: 1.672 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.9034, allocations: 1.201 MB / 0.8988 GB, free: 1.621 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.9051, allocations: 0.7105 MB / 0.8995 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.9075, allocations: 2.014 MB / 0.9015 GB, free: 1.602 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.9085, allocations: 0.6936 MB / 0.9021 GB, free: 1.535 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.9124, allocations: 1.891 MB / 0.904 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.914, allocations: 0.7085 MB / 0.9047 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.9141, allocations: 80.09 kB / 0.9047 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.9159, allocations: 0.9251 MB / 0.9056 GB, free: 1.484 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.9163, allocations: 391.4 kB / 0.906 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.9168, allocations: 0.4956 MB / 0.9065 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.9188, allocations: 1.506 MB / 0.908 GB, free: 1.34 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9188, allocations: 0 / 0.908 GB, free: 1.34 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9188, allocations: 0.9062 kB / 0.908 GB, free: 1.34 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.9188, allocations: 0 / 0.908 GB, free: 1.34 MB / 0.67 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.001767/0.9206, allocations: 1.27 MB / 0.9092 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.9206, allocations: 9.578 kB / 0.9092 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.29e-05/0.9206, allocations: 26.91 kB / 0.9093 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.9208, allocations: 120.9 kB / 0.9094 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.9219, allocations: 218.4 kB / 0.9096 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009957/0.9229, allocations: 0.6838 MB / 0.9102 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.9229, allocations: 55.12 kB / 0.9103 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.9231, allocations: 82.98 kB / 0.9104 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.9242, allocations: 0.9379 MB / 0.9113 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.9242, allocations: 6.594 kB / 0.9113 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.927e-05/0.9243, allocations: 32.19 kB / 0.9113 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.9243, allocations: 31.89 kB / 0.9114 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.9252, allocations: 0.6148 MB / 0.912 GB, free: 15.93 MB / 0.6856 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.004475/0.9297, allocations: 4.574 MB / 0.9164 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.9304, allocations: 0.5244 MB / 0.9169 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.9307, allocations: 230.6 kB / 0.9172 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.9308, allocations: 96.8 kB / 0.9172 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.9309, allocations: 44.06 kB / 0.9173 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.316e-06/0.9309, allocations: 5.219 kB / 0.9173 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.002757/0.9336, allocations: 1.614 MB / 0.9189 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.9337, allocations: 113.9 kB / 0.919 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/0.9345, allocations: 0.7152 MB / 0.9197 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.9345, allocations: 34.95 kB / 0.9197 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.9348, allocations: 424.1 kB / 0.9201 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.935, allocations: 172.6 kB / 0.9203 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.9352, allocations: 118.9 kB / 0.9204 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.9353, allocations: 330.4 kB / 0.9207 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.9356, allocations: 187.4 kB / 0.9209 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.936, allocations: 411.1 kB / 0.9213 GB, free: 10.63 MB / 0.6856 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.002099/0.9381, allocations: 1.175 MB / 0.9224 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9381, allocations: 0 / 0.9224 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009566/0.9391, allocations: 0.678 MB / 0.9231 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9391, allocations: 13.59 kB / 0.9231 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9391, allocations: 7.906 kB / 0.9231 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.9391, allocations: 8.188 kB / 0.9231 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.9396, allocations: 125.3 kB / 0.9232 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.9396, allocations: 16.75 kB / 0.9233 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.9402, allocations: 25.41 kB / 0.9233 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.9402, allocations: 28.5 kB / 0.9233 GB, free: 10.21 MB / 0.6856 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.0004168/0.9407, allocations: 278.2 kB / 0.9236 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.9408, allocations: 91.19 kB / 0.9237 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.941, allocations: 92.31 kB / 0.9237 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.941, allocations: 6.125 kB / 0.9238 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.941, allocations: 0 / 0.9238 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006964/0.9417, allocations: 0.6935 MB / 0.9244 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.9439, allocations: 1.652 MB / 0.926 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.9439, allocations: 5.031 kB / 0.926 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.9443, allocations: 98.78 kB / 0.9261 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.9443, allocations: 7.5 kB / 0.9261 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.9444, allocations: 13.88 kB / 0.9262 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.9444, allocations: 10.28 kB / 0.9262 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9444, allocations: 7.422 kB / 0.9262 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.9455, allocations: 0.8974 MB / 0.9271 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.9458, allocations: 208.7 kB / 0.9273 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.9459, allocations: 25.05 kB / 0.9273 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.9463, allocations: 17.72 kB / 0.9273 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.9464, allocations: 42.03 kB / 0.9273 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.9464, allocations: 19.69 kB / 0.9274 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006689/0.9471, allocations: 0.509 MB / 0.9278 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9471, allocations: 1.031 kB / 0.9279 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001032/0.9481, allocations: 201.6 kB / 0.928 GB, free: 8.406 MB / 0.6856 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.001951/0.9501, allocations: 1.514 MB / 0.9295 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008024/0.9509, allocations: 468.9 kB / 0.93 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.9509, allocations: 0.6875 kB / 0.93 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.9511, allocations: 198.4 kB / 0.9302 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.9537, allocations: 483.3 kB / 0.9306 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008041/0.9618, allocations: 6.629 MB / 0.9371 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.9624, allocations: 1.022 MB / 0.9381 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000689/0.9631, allocations: 206.6 kB / 0.9383 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.9635, allocations: 296.7 kB / 0.9386 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/0.9635, allocations: 2.469 kB / 0.9386 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/1.012, allocations: 22.34 MB / 0.9604 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.627/10.64, allocations: 14.62 kB / 0.9604 GB, free: 6.73 MB / 0.7012 GB " [Timeout remaining time 649] (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: 14.460270298004616] Failed to read output from testmodel.py, exit status != 0: 11.069842589029577 10.796395072 9.874176749 Calling exit ...