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.001261/0.001261, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001437/0.001437, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.8594/0.8594, allocations: 134 MB / 447.2 MB, free: 9.926 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.001929/0.001929, allocations: 66.14 kB / 0.6193 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 85.92 MB / 0.7032 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6022/0.7763, allocations: 195.7 MB / 0.8943 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.7868, allocations: 5.394 MB / 0.8996 GB, free: 9.906 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.7883, allocations: 59.5 kB / 0.8996 GB, free: 9.848 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.7901, allocations: 0.5669 MB / 0.9002 GB, free: 9.277 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.7951, allocations: 1.914 MB / 0.9021 GB, free: 7.355 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.7984, allocations: 1.226 MB / 0.9033 GB, free: 6.141 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004368/0.8027, allocations: 3.023 MB / 0.9062 GB, free: 3.117 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.8041, allocations: 0.7697 MB / 0.907 GB, free: 2.328 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.8061, allocations: 1.144 MB / 0.9081 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.8084, allocations: 0.9988 MB / 0.909 GB, free: 192 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.8087, allocations: 108 kB / 0.9091 GB, free: 84 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.8115, allocations: 1.208 MB / 0.9103 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005803/0.8121, allocations: 478.6 kB / 0.9108 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.8129, allocations: 0.5408 MB / 0.9113 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.8162, allocations: 2.106 MB / 0.9134 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8162, allocations: 0 / 0.9134 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8162, allocations: 4 kB / 0.9134 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.288e-05/0.8162, allocations: 0 / 0.9134 GB, free: 11.74 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.002495/0.8187, allocations: 1.461 MB / 0.9148 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.8188, allocations: 12.03 kB / 0.9148 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.472e-05/0.8188, allocations: 22 kB / 0.9148 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.819, allocations: 143.2 kB / 0.915 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.821, allocations: 323 kB / 0.9153 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.8225, allocations: 0.7853 MB / 0.916 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.8225, allocations: 65.98 kB / 0.9161 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.8227, allocations: 84 kB / 0.9162 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.8246, allocations: 1.373 MB / 0.9175 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.8246, allocations: 3.938 kB / 0.9175 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/0.8247, allocations: 40 kB / 0.9176 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.8247, allocations: 33.94 kB / 0.9176 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.8262, allocations: 0.8276 MB / 0.9184 GB, free: 6.395 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.005476/0.8317, allocations: 2.539 MB / 0.9209 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/0.8325, allocations: 487.2 kB / 0.9214 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.833, allocations: 282 kB / 0.9216 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.8332, allocations: 24.42 kB / 0.9216 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.8332, allocations: 46.94 kB / 0.9217 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.8332, allocations: 4 kB / 0.9217 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.003692/0.8369, allocations: 1.656 MB / 0.9233 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.837, allocations: 55.84 kB / 0.9234 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.838, allocations: 0.8059 MB / 0.9242 GB, free: 384 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.8381, allocations: 37.7 kB / 0.9242 GB, free: 340 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.8385, allocations: 480.4 kB / 0.9246 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.8387, allocations: 186.4 kB / 0.9248 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.8389, allocations: 110.3 kB / 0.9249 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.839, allocations: 341.7 kB / 0.9253 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.8395, allocations: 245.2 kB / 0.9255 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.8401, allocations: 488.8 kB / 0.926 GB, free: 14.44 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.003607/0.8437, allocations: 1.446 MB / 0.9274 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8437, allocations: 4 kB / 0.9274 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001403/0.8451, allocations: 0.7913 MB / 0.9281 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8451, allocations: 8 kB / 0.9282 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8451, allocations: 3.938 kB / 0.9282 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.8453, allocations: 69.67 kB / 0.9282 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.846, allocations: 148.2 kB / 0.9284 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.8486, allocations: 2.905 MB / 0.9312 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.8494, allocations: 29.81 kB / 0.9312 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.8495, allocations: 24 kB / 0.9313 GB, free: 8.719 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.0004997/0.85, allocations: 305.8 kB / 0.9315 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.8501, allocations: 95.44 kB / 0.9316 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.8503, allocations: 100.7 kB / 0.9317 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.8503, allocations: 8 kB / 0.9317 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8503, allocations: 0 / 0.9317 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.8514, allocations: 0.8348 MB / 0.9326 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.8542, allocations: 1.634 MB / 0.9341 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.8542, allocations: 0 / 0.9341 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.8548, allocations: 140.2 kB / 0.9343 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.8549, allocations: 44.84 kB / 0.9343 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.855, allocations: 15.98 kB / 0.9343 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.8563, allocations: 1.487 MB / 0.9358 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.8563, allocations: 7.938 kB / 0.9358 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.8579, allocations: 1.101 MB / 0.9369 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.8583, allocations: 171.2 kB / 0.937 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.8584, allocations: 11.98 kB / 0.9371 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/0.8591, allocations: 39.86 kB / 0.9371 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.8592, allocations: 47.81 kB / 0.9371 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.831e-05/0.8593, allocations: 27.98 kB / 0.9372 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007556/0.8601, allocations: 0.5693 MB / 0.9377 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8601, allocations: 0 / 0.9377 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008697/0.8609, allocations: 268 kB / 0.938 GB, free: 1.477 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.00217/0.8631, allocations: 1.704 MB / 0.9396 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.8644, allocations: 0.7921 MB / 0.9404 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.8644, allocations: 8.25 kB / 0.9404 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.865, allocations: 398.5 kB / 0.9408 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.8675, allocations: 0.6047 MB / 0.9414 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.8775, allocations: 7.027 MB / 0.9483 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.8781, allocations: 492.8 kB / 0.9487 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008712/0.879, allocations: 219.7 kB / 0.9489 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.8795, allocations: 347.3 kB / 0.9493 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.493e-06/0.8795, allocations: 0 / 0.9493 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06749/0.947, allocations: 29.95 MB / 0.9785 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.31, allocations: 10.39 kB / 0.9785 GB, free: 8.078 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 19.117355399997905] Failed to read output from testmodel.py, exit status != 0: 15.49670718703419 15.522145771 14.701242988 Calling exit ...