Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001945/0.001945, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002692/0.002692, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.793 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.8842/0.8842, allocations: 134 MB / 446.4 MB, free: 9.969 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.002009/0.002009, allocations: 62.62 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 85.91 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6612/0.8463, allocations: 195.9 MB / 0.8937 GB, free: 15.12 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.8571, allocations: 5.4 MB / 0.899 GB, free: 9.711 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.8589, allocations: 55.5 kB / 0.899 GB, free: 9.656 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.861, allocations: 0.5591 MB / 0.8996 GB, free: 9.094 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005995/0.867, allocations: 1.91 MB / 0.9014 GB, free: 7.176 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003889/0.8709, allocations: 1.22 MB / 0.9026 GB, free: 5.969 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.8758, allocations: 2.998 MB / 0.9056 GB, free: 2.969 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.8775, allocations: 0.7619 MB / 0.9063 GB, free: 2.184 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.8801, allocations: 1.136 MB / 0.9074 GB, free: 1.043 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.8829, allocations: 0.9807 MB / 0.9084 GB, free: 80 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004235/0.8834, allocations: 108 kB / 0.9085 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.8865, allocations: 1.196 MB / 0.9096 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007823/0.8873, allocations: 482.6 kB / 0.9101 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.8885, allocations: 0.5446 MB / 0.9106 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004224/0.8927, allocations: 2.102 MB / 0.9127 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8928, allocations: 0 / 0.9127 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8928, allocations: 7.875 kB / 0.9127 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.431e-05/0.8928, allocations: 4 kB / 0.9127 GB, free: 11.63 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00343/0.8962, allocations: 1.462 MB / 0.9141 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.8963, allocations: 8.031 kB / 0.9141 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002851/0.8966, allocations: 143.2 kB / 0.9143 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.8987, allocations: 322.9 kB / 0.9146 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.9007, allocations: 0.7761 MB / 0.9153 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/0.9008, allocations: 69.94 kB / 0.9154 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.901, allocations: 84 kB / 0.9155 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.9034, allocations: 1.369 MB / 0.9168 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.9035, allocations: 3.625 kB / 0.9168 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.9036, allocations: 43.94 kB / 0.9169 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.9036, allocations: 34 kB / 0.9169 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.9055, allocations: 0.8276 MB / 0.9177 GB, free: 6.32 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.006278/0.9117, allocations: 2.535 MB / 0.9202 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009015/0.9126, allocations: 476.5 kB / 0.9206 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.9131, allocations: 281.9 kB / 0.9209 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.9133, allocations: 28.42 kB / 0.9209 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.9134, allocations: 39 kB / 0.921 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 5.58e-06/0.9134, allocations: 4 kB / 0.921 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.004294/0.9177, allocations: 1.659 MB / 0.9226 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.9177, allocations: 59.84 kB / 0.9226 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.9189, allocations: 0.8058 MB / 0.9234 GB, free: 320 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/0.919, allocations: 41.7 kB / 0.9235 GB, free: 272 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.9195, allocations: 484.3 kB / 0.9239 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.9197, allocations: 182.4 kB / 0.9241 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.9199, allocations: 114.3 kB / 0.9242 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.92, allocations: 333.9 kB / 0.9245 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.9205, allocations: 245.2 kB / 0.9248 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.9212, allocations: 491.4 kB / 0.9252 GB, free: 14.37 MB / 0.7012 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.003796/0.925, allocations: 1.45 MB / 0.9267 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.925, allocations: 0 / 0.9267 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00156/0.9265, allocations: 0.7994 MB / 0.9274 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.9265, allocations: 4 kB / 0.9274 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9266, allocations: 4 kB / 0.9274 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.9267, allocations: 73.67 kB / 0.9275 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.9274, allocations: 147.8 kB / 0.9277 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.9303, allocations: 2.9 MB / 0.9305 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.9312, allocations: 31.88 kB / 0.9305 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.9313, allocations: 27.98 kB / 0.9305 GB, free: 8.637 MB / 0.7012 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: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005552/0.9318, allocations: 307.1 kB / 0.9308 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.9321, allocations: 96.56 kB / 0.9309 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.9323, allocations: 104.9 kB / 0.931 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.9323, allocations: 4 kB / 0.931 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9324, allocations: 0 / 0.931 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/0.9335, allocations: 0.8309 MB / 0.9318 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.9369, allocations: 1.637 MB / 0.9334 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9369, allocations: 0 / 0.9334 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.9375, allocations: 131.8 kB / 0.9336 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.9376, allocations: 37.23 kB / 0.9336 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.9377, allocations: 20.88 kB / 0.9336 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.9391, allocations: 1.498 MB / 0.9351 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.9391, allocations: 7.938 kB / 0.9351 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.9409, allocations: 1.101 MB / 0.9362 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/0.9415, allocations: 167.3 kB / 0.9363 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.9416, allocations: 15.94 kB / 0.9363 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/0.9424, allocations: 27.98 kB / 0.9364 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.9425, allocations: 43.86 kB / 0.9364 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.9426, allocations: 31.98 kB / 0.9364 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007953/0.9434, allocations: 0.5653 MB / 0.937 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.9434, allocations: 0 / 0.937 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009624/0.9443, allocations: 279.9 kB / 0.9373 GB, free: 1.395 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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 (47): * Single equations (assignments): 46 * 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.002396/0.9467, allocations: 1.7 MB / 0.9389 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.9482, allocations: 0.7878 MB / 0.9397 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.9482, allocations: 0 / 0.9397 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/0.9488, allocations: 400.1 kB / 0.9401 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.9516, allocations: 0.6054 MB / 0.9407 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.964, allocations: 7.026 MB / 0.9475 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008453/0.9648, allocations: 0.4929 MB / 0.948 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001036/0.9658, allocations: 215.7 kB / 0.9482 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/0.9665, allocations: 347.3 kB / 0.9485 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of SimCode: time 1.553e-06/0.9665, allocations: 3.938 kB / 0.9485 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07814/1.045, allocations: 30.3 MB / 0.9781 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.45, allocations: 10.06 kB / 0.9781 GB, free: 7.656 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.29624775610864] Failed to read output from testmodel.py, exit status != 0: 14.57750122481957 14.59602654 13.699593634 Calling exit ...