Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001539/0.001539, allocations: 123.8 kB / 17.17 MB, free: 5.918 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.001589/0.001589, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8265/0.8265, allocations: 133.9 MB / 443.5 MB, free: 13.86 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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001981/0.001981, allocations: 68.06 kB / 0.6141 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1499, allocations: 85.85 MB / 0.698 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6269/0.7769, allocations: 194 MB / 0.8875 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.787, allocations: 5.706 MB / 0.893 GB, free: 1.691 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.7891, allocations: 54.12 kB / 0.8931 GB, free: 1.691 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.7908, allocations: 0.6012 MB / 0.8937 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.7958, allocations: 1.903 MB / 0.8955 GB, free: 1.605 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.7987, allocations: 1.181 MB / 0.8967 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003641/0.8023, allocations: 2.958 MB / 0.8996 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.8036, allocations: 0.9426 MB / 0.9005 GB, free: 1.504 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.8055, allocations: 1.128 MB / 0.9016 GB, free: 1.5 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.8072, allocations: 1.037 MB / 0.9026 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.8074, allocations: 125.5 kB / 0.9027 GB, free: 1.496 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.8106, allocations: 1.534 MB / 0.9042 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005634/0.8112, allocations: 0.5766 MB / 0.9048 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008354/0.812, allocations: 0.7211 MB / 0.9055 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003027/0.815, allocations: 2.357 MB / 0.9078 GB, free: 1.191 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.815, allocations: 0 / 0.9078 GB, free: 1.191 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.914e-06/0.815, allocations: 1.062 kB / 0.9078 GB, free: 1.191 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.815, allocations: 0 / 0.9078 GB, free: 1.191 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002502/0.8176, allocations: 1.662 MB / 0.9094 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.8176, allocations: 9.266 kB / 0.9094 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.761e-05/0.8176, allocations: 31.5 kB / 0.9094 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.8178, allocations: 155.1 kB / 0.9096 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.8197, allocations: 341.5 kB / 0.9099 GB, free: 16.22 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.821, allocations: 0.9171 MB / 0.9108 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.821, allocations: 78.56 kB / 0.9109 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.8212, allocations: 101.8 kB / 0.911 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.8227, allocations: 1.076 MB / 0.912 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.8227, allocations: 0 / 0.912 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.321e-05/0.8228, allocations: 43.91 kB / 0.9121 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/0.8228, allocations: 47 kB / 0.9121 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.8242, allocations: 0.9888 MB / 0.9131 GB, free: 15.81 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.005312/0.8295, allocations: 4.219 MB / 0.9172 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.8303, allocations: 0.5736 MB / 0.9178 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.8307, allocations: 318.9 kB / 0.9181 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.8309, allocations: 106.8 kB / 0.9182 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.8309, allocations: 43.97 kB / 0.9182 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.8309, allocations: 0 / 0.9182 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55): time 0.003881/0.8348, allocations: 2.22 MB / 0.9204 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.8348, allocations: 61.56 kB / 0.9204 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.8358, allocations: 0.8825 MB / 0.9213 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.8359, allocations: 41.27 kB / 0.9214 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.8362, allocations: 0.524 MB / 0.9219 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.8364, allocations: 208.1 kB / 0.9221 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.8366, allocations: 131.5 kB / 0.9222 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8368, allocations: 333.1 kB / 0.9225 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.8372, allocations: 286.7 kB / 0.9228 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.8378, allocations: 448.3 kB / 0.9232 GB, free: 12 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.8415, allocations: 1.735 MB / 0.9249 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.8415, allocations: 7.219 kB / 0.9249 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001445/0.8429, allocations: 0.9289 MB / 0.9258 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8429, allocations: 5 kB / 0.9258 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8429, allocations: 4.375 kB / 0.9258 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.8431, allocations: 98.66 kB / 0.9259 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.8438, allocations: 163.7 kB / 0.9261 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.8477, allocations: 4.633 MB / 0.9306 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.8488, allocations: 36.34 kB / 0.9306 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.8488, allocations: 28.03 kB / 0.9307 GB, free: 7.555 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005767/0.8494, allocations: 345.4 kB / 0.931 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.8496, allocations: 106.6 kB / 0.9311 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.8498, allocations: 116.9 kB / 0.9312 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8498, allocations: 5.719 kB / 0.9312 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8498, allocations: 0.9688 kB / 0.9312 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/0.8508, allocations: 0.7697 MB / 0.932 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.8538, allocations: 1.986 MB / 0.9339 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8538, allocations: 1.812 kB / 0.9339 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/0.8545, allocations: 148.6 kB / 0.934 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.8546, allocations: 41.64 kB / 0.9341 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.8546, allocations: 15.97 kB / 0.9341 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.856, allocations: 1.606 MB / 0.9357 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.856, allocations: 5.812 kB / 0.9357 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.8577, allocations: 1.248 MB / 0.9369 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.8582, allocations: 258.6 kB / 0.9371 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8583, allocations: 13.86 kB / 0.9371 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007176/0.859, allocations: 35.7 kB / 0.9372 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.8591, allocations: 46.08 kB / 0.9372 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/0.8592, allocations: 32.41 kB / 0.9373 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007386/0.8599, allocations: 0.6158 MB / 0.9379 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8599, allocations: 0.875 kB / 0.9379 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009853/0.8609, allocations: 303.4 kB / 0.9381 GB, free: 4.73 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002258/0.8632, allocations: 1.852 MB / 0.94 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.8647, allocations: 1 MB / 0.9409 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8647, allocations: 4.281 kB / 0.9409 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.8653, allocations: 426 kB / 0.9413 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.8681, allocations: 0.6467 MB / 0.942 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.8793, allocations: 7.963 MB / 0.9498 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/0.8801, allocations: 1.166 MB / 0.9509 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001014/0.8812, allocations: 256 kB / 0.9511 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/0.8817, allocations: 385 kB / 0.9515 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of SimCode: time 1.323e-06/0.8817, allocations: 0 / 0.9515 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06704/0.9488, allocations: 30.76 MB / 0.9815 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.44, allocations: 14.75 kB / 0.9816 GB, free: 0.7812 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.228713497985154] Failed to read output from testmodel.py, exit status != 0: 14.89710727299098 14.631713337 13.812448605 Calling exit ...