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.001787/0.001787, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002476/0.002476, allocations: 213.5 kB / 22.24 MB, free: 4.855 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.801 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.8569/0.8569, allocations: 134 MB / 446.4 MB, free: 9.949 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="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"}) [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.002012/0.002012, allocations: 68.5 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.184, allocations: 85.92 MB / 0.7024 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6052/0.7892, allocations: 165.6 MB / 0.8641 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.8072, allocations: 12.02 MB / 0.8758 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.8086, allocations: 43.62 kB / 0.8759 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.8103, allocations: 425.2 kB / 0.8763 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.8139, allocations: 1.209 MB / 0.8774 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.8161, allocations: 0.7231 MB / 0.8782 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0032/0.8193, allocations: 2.046 MB / 0.8802 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.8206, allocations: 0.6099 MB / 0.8807 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.8255, allocations: 1.872 MB / 0.8826 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.8276, allocations: 0.6772 MB / 0.8832 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.8279, allocations: 83.98 kB / 0.8833 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.8299, allocations: 0.7325 MB / 0.884 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006371/0.8305, allocations: 398.8 kB / 0.8844 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009765/0.8315, allocations: 418.2 kB / 0.8848 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.8344, allocations: 1.487 MB / 0.8863 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8344, allocations: 0 / 0.8863 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8344, allocations: 0 / 0.8863 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.099e-05/0.8345, allocations: 0 / 0.8863 GB, free: 6.777 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.002481/0.8369, allocations: 1.197 MB / 0.8874 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.837, allocations: 8.031 kB / 0.8874 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/0.8372, allocations: 126.4 kB / 0.8876 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.8385, allocations: 223.2 kB / 0.8878 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.8399, allocations: 0.6039 MB / 0.8884 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.8399, allocations: 61.94 kB / 0.8884 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.8401, allocations: 75.94 kB / 0.8885 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.8417, allocations: 1.062 MB / 0.8895 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.8417, allocations: 7.938 kB / 0.8895 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/0.8418, allocations: 32 kB / 0.8896 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.8418, allocations: 33.31 kB / 0.8896 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.8429, allocations: 0.6177 MB / 0.8902 GB, free: 2.559 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.004574/0.8475, allocations: 3.723 MB / 0.8938 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.8482, allocations: 446.2 kB / 0.8943 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.8486, allocations: 226.5 kB / 0.8945 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.8487, allocations: 19.98 kB / 0.8945 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.8488, allocations: 46.48 kB / 0.8945 GB, free: 13.93 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.8488, allocations: 0 / 0.8945 GB, free: 13.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.003039/0.8518, allocations: 1.527 MB / 0.896 GB, free: 12.36 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.8519, allocations: 122.7 kB / 0.8962 GB, free: 12.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/0.8528, allocations: 0.7232 MB / 0.8969 GB, free: 11.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.8529, allocations: 37.7 kB / 0.8969 GB, free: 11.44 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.8532, allocations: 424.5 kB / 0.8973 GB, free: 11.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.8534, allocations: 166.6 kB / 0.8975 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.8536, allocations: 118.3 kB / 0.8976 GB, free: 10.74 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8537, allocations: 330.1 kB / 0.8979 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.8541, allocations: 189.2 kB / 0.8981 GB, free: 10.22 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006038/0.8547, allocations: 0.5578 MB / 0.8986 GB, free: 9.539 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.002346/0.857, allocations: 1.087 MB / 0.8997 GB, free: 8.367 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.857, allocations: 4 kB / 0.8997 GB, free: 8.363 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001122/0.8581, allocations: 0.68 MB / 0.9003 GB, free: 7.676 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8582, allocations: 8.094 kB / 0.9003 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.8582, allocations: 12 kB / 0.9004 GB, free: 7.656 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.8582, allocations: 12.03 kB / 0.9004 GB, free: 7.645 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.8587, allocations: 127.8 kB / 0.9005 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.8587, allocations: 11.98 kB / 0.9005 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.8593, allocations: 31.97 kB / 0.9005 GB, free: 7.477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.8593, allocations: 31.94 kB / 0.9006 GB, free: 7.445 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.0004182/0.8598, allocations: 273.5 kB / 0.9008 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.8599, allocations: 87.42 kB / 0.9009 GB, free: 7.082 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.8601, allocations: 99.66 kB / 0.901 GB, free: 6.977 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8601, allocations: 4 kB / 0.901 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8601, allocations: 0 / 0.901 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008335/0.861, allocations: 0.6911 MB / 0.9017 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.8637, allocations: 1.52 MB / 0.9032 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.8637, allocations: 4.875 kB / 0.9032 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.8642, allocations: 103.8 kB / 0.9033 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.8642, allocations: 4 kB / 0.9033 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.8642, allocations: 19.98 kB / 0.9033 GB, free: 4.445 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.8642, allocations: 8 kB / 0.9033 GB, free: 4.438 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.8642, allocations: 7.938 kB / 0.9033 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.8655, allocations: 0.908 MB / 0.9042 GB, free: 3.465 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.8659, allocations: 123.5 kB / 0.9043 GB, free: 3.344 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.866, allocations: 19.98 kB / 0.9043 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.8665, allocations: 16 kB / 0.9043 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.8666, allocations: 43.81 kB / 0.9044 GB, free: 3.266 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.8666, allocations: 20 kB / 0.9044 GB, free: 3.246 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006929/0.8673, allocations: 0.5068 MB / 0.9049 GB, free: 2.746 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.8673, allocations: 0 / 0.9049 GB, free: 2.746 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007561/0.8681, allocations: 203.9 kB / 0.9051 GB, free: 2.547 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.001863/0.8699, allocations: 1.514 MB / 0.9066 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008758/0.8708, allocations: 469.1 kB / 0.907 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.8708, allocations: 3.938 kB / 0.907 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.8711, allocations: 200.1 kB / 0.9072 GB, free: 324 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.8733, allocations: 490.5 kB / 0.9077 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.8833, allocations: 6.622 MB / 0.9142 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.8839, allocations: 436.9 kB / 0.9146 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007882/0.8847, allocations: 199 kB / 0.9148 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.8852, allocations: 299.3 kB / 0.915 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of SimCode: time 1.193e-06/0.8852, allocations: 0 / 0.915 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06413/0.9493, allocations: 24.6 MB / 0.9391 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.63, allocations: 7.875 kB / 0.9391 GB, free: 15.8 MB / 0.7169 GB " [Timeout remaining time 647] (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: 16.30039678188041] Failed to read output from testmodel.py, exit status != 0: 12.74941995088011 12.767361486 11.927041986 Calling exit ...