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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9901/0.9901, allocations: 175.7 MB / 480.1 MB, free: 2.77 MB / 366.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-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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 68.64 kB / 0.6678 GB, free: 11.13 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1516, allocations: 94.52 MB / 0.7601 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5112/0.6628, allocations: 188.3 MB / 0.944 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.6783, allocations: 13.23 MB / 0.9569 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.6793, allocations: 31.69 kB / 0.9569 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.6805, allocations: 438.4 kB / 0.9574 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.6834, allocations: 1.2 MB / 0.9585 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.685, allocations: 0.7271 MB / 0.9592 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.6875, allocations: 2.012 MB / 0.9612 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000939/0.6885, allocations: 0.6236 MB / 0.9618 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/0.693, allocations: 2.01 MB / 0.9638 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.6947, allocations: 0.7004 MB / 0.9645 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.6949, allocations: 80 kB / 0.9645 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.6967, allocations: 0.9042 MB / 0.9654 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.6972, allocations: 398.8 kB / 0.9658 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005828/0.6978, allocations: 0.5054 MB / 0.9663 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.6998, allocations: 1.501 MB / 0.9678 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6998, allocations: 0 / 0.9678 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6998, allocations: 0 / 0.9678 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.6998, allocations: 4 kB / 0.9678 GB, free: 5.309 MB / 0.7012 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.001815/0.7017, allocations: 1.273 MB / 0.969 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7017, allocations: 8.031 kB / 0.969 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.7019, allocations: 122.5 kB / 0.9691 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.703, allocations: 215.2 kB / 0.9693 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.7041, allocations: 0.6837 MB / 0.97 GB, free: 2.91 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.7041, allocations: 58 kB / 0.9701 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.7042, allocations: 83.92 kB / 0.9701 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.7056, allocations: 0.9404 MB / 0.9711 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.7056, allocations: 3.938 kB / 0.9711 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.7057, allocations: 43.8 kB / 0.9711 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.7057, allocations: 29.31 kB / 0.9711 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.7067, allocations: 0.6138 MB / 0.9717 GB, free: 1.062 MB / 0.7012 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.00447/0.7112, allocations: 4.67 MB / 0.9763 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.712, allocations: 0.5284 MB / 0.9768 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.7123, allocations: 230.4 kB / 0.977 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.7125, allocations: 101.1 kB / 0.9771 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.7125, allocations: 50.42 kB / 0.9772 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.7125, allocations: 4 kB / 0.9772 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.002748/0.7153, allocations: 1.615 MB / 0.9787 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.7153, allocations: 106.8 kB / 0.9789 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008603/0.7162, allocations: 0.7155 MB / 0.9795 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.7162, allocations: 41.95 kB / 0.9796 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.7166, allocations: 420.6 kB / 0.98 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.7167, allocations: 166.5 kB / 0.9801 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.7169, allocations: 122.3 kB / 0.9803 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7171, allocations: 330 kB / 0.9806 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.7174, allocations: 185.2 kB / 0.9808 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.7178, allocations: 417 kB / 0.9812 GB, free: 6.805 MB / 0.7169 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.002232/0.7201, allocations: 1.173 MB / 0.9823 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7201, allocations: 0 / 0.9823 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001013/0.7211, allocations: 0.6834 MB / 0.983 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7211, allocations: 13.81 kB / 0.983 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.7211, allocations: 4 kB / 0.983 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.7211, allocations: 12 kB / 0.983 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.7216, allocations: 132.4 kB / 0.9831 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.7216, allocations: 15.94 kB / 0.9831 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.7221, allocations: 35.88 kB / 0.9832 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.7221, allocations: 24 kB / 0.9832 GB, free: 4.605 MB / 0.7169 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.0003477/0.7225, allocations: 272.9 kB / 0.9835 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.7226, allocations: 91.42 kB / 0.9835 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.7228, allocations: 91.66 kB / 0.9836 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.7228, allocations: 4 kB / 0.9836 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7228, allocations: 0 / 0.9836 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007547/0.7236, allocations: 0.7115 MB / 0.9843 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.7259, allocations: 1.65 MB / 0.9859 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.7259, allocations: 4 kB / 0.9859 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.7264, allocations: 100.4 kB / 0.986 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.7264, allocations: 8 kB / 0.986 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.7264, allocations: 12 kB / 0.9861 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.7264, allocations: 16.48 kB / 0.9861 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7264, allocations: 4 kB / 0.9861 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.7275, allocations: 0.8615 MB / 0.9869 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.7278, allocations: 208.6 kB / 0.9871 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.7279, allocations: 16 kB / 0.9871 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.7283, allocations: 15.98 kB / 0.9871 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.7284, allocations: 43.84 kB / 0.9872 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.7284, allocations: 19.98 kB / 0.9872 GB, free: 216 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006271/0.729, allocations: 0.5107 MB / 0.9877 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.729, allocations: 0 / 0.9877 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007067/0.7298, allocations: 200 kB / 0.9879 GB, free: 15.51 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.001773/0.7315, allocations: 1.509 MB / 0.9894 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008018/0.7323, allocations: 464.9 kB / 0.9898 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7323, allocations: 8 kB / 0.9898 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.7326, allocations: 192.4 kB / 0.99 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.7345, allocations: 480.3 kB / 0.9905 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008321/0.7429, allocations: 6.644 MB / 0.997 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.7436, allocations: 1.028 MB / 0.998 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006812/0.7443, allocations: 207 kB / 0.9982 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.7447, allocations: 295.3 kB / 0.9984 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/0.7447, allocations: 0 / 0.9984 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/0.7973, allocations: 22.35 MB / 1.02 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/9.291, allocations: 3.938 kB / 1.02 GB, free: 14.21 MB / 0.7637 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.727149117999943]