Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.0007986/0.0007986, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.000886/0.000886, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.9563/0.9563, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7909/0.7909, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.001053/0.001053, allocations: 66.34 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5513/0.5524, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.041/0.5934, allocations: 51.67 MB / 0.8682 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.6131, allocations: 16.85 MB / 0.8847 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003582/0.6167, allocations: 101 kB / 0.8848 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003233/0.6199, allocations: 0.8991 MB / 0.8857 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007054/0.627, allocations: 2.665 MB / 0.8883 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.6306, allocations: 1.587 MB / 0.8898 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01628/0.6468, allocations: 22.06 MB / 0.9114 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009389/0.6562, allocations: 7.1 MB / 0.9183 GB, free: 14.42 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01601/0.6722, allocations: 7.593 MB / 0.9257 GB, free: 6.848 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.6836, allocations: 6.885 MB / 0.9324 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002912/0.6865, allocations: 0.9375 MB / 0.9333 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005853/0.6924, allocations: 1.581 MB / 0.9349 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00399/0.6964, allocations: 2.434 MB / 0.9373 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.008587/0.705, allocations: 3.876 MB / 0.941 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01556/0.7205, allocations: 13.36 MB / 0.9541 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.7205, allocations: 0 / 0.9541 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7205, allocations: 0 / 0.9541 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004802/0.721, allocations: 0 / 0.9541 GB, free: 9.68 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.0197/0.7407, allocations: 8.642 MB / 0.9625 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.7408, allocations: 12.03 kB / 0.9625 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002681/0.7435, allocations: 0.8499 MB / 0.9634 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/0.747, allocations: 0.9551 MB / 0.9643 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.7585, allocations: 6.784 MB / 0.9709 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/0.7589, allocations: 464.2 kB / 0.9714 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002071/0.7609, allocations: 0.5937 MB / 0.972 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.7788, allocations: 10.1 MB / 0.9818 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.7789, allocations: 19.88 kB / 0.9818 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005988/0.7795, allocations: 271.8 kB / 0.9821 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.7797, allocations: 179.9 kB / 0.9823 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.7921, allocations: 7.449 MB / 0.9895 GB, free: 4.605 MB / 0.7605 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.04125/0.8333, allocations: 27.26 MB / 1.016 GB, free: 8.883 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/0.8379, allocations: 3.975 MB / 1.02 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.8413, allocations: 3.035 MB / 1.023 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/0.8419, allocations: 202.3 kB / 1.023 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003226/0.8451, allocations: 3.452 MB / 1.027 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002202/0.8473, allocations: 401.1 kB / 1.027 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=317): time 1.097e-05/0.8473, allocations: 0 / 1.027 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=317): time 0.009738/0.8571, allocations: 7.008 MB / 1.034 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.8571, allocations: 89.89 kB / 1.034 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009143/0.8663, allocations: 5.763 MB / 1.04 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001222/0.8675, allocations: 85.7 kB / 1.04 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002932/0.8704, allocations: 3.275 MB / 1.043 GB, free: 13.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001791/0.8722, allocations: 1.166 MB / 1.044 GB, free: 12.06 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.8734, allocations: 0.8586 MB / 1.045 GB, free: 11.19 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.8735, allocations: 309.1 kB / 1.045 GB, free: 10.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/0.8762, allocations: 2.189 MB / 1.047 GB, free: 8.68 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/0.8797, allocations: 3.822 MB / 1.051 GB, free: 4.125 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006241/0.886, allocations: 6.319 MB / 1.057 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.142e-05/0.886, allocations: 20 kB / 1.057 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008537/0.8945, allocations: 6.823 MB / 1.064 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.8946, allocations: 53.7 kB / 1.064 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.591e-05/0.8947, allocations: 48 kB / 1.064 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.8954, allocations: 437.9 kB / 1.064 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.8974, allocations: 1.006 MB / 1.065 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/0.9017, allocations: 5.417 MB / 1.071 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/0.9052, allocations: 291.7 kB / 1.071 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004797/0.9057, allocations: 220 kB / 1.071 GB, free: 14.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004051/0.9098, allocations: 2.491 MB / 1.073 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/0.9113, allocations: 0.5512 MB / 1.074 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006745/0.918, allocations: 5.264 MB / 1.079 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.918, allocations: 35.94 kB / 1.079 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.9181, allocations: 8 kB / 1.079 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004606/0.9227, allocations: 4.516 MB / 1.084 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.9389, allocations: 11.08 MB / 1.094 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.9389, allocations: 0 / 1.094 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.9406, allocations: 0.6438 MB / 1.095 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007507/0.9414, allocations: 373.3 kB / 1.095 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/0.9416, allocations: 83.95 kB / 1.096 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/0.9462, allocations: 5.328 MB / 1.101 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9462, allocations: 4.125 kB / 1.101 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009287/0.9555, allocations: 7.737 MB / 1.108 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003075/0.9585, allocations: 1.159 MB / 1.109 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/0.9598, allocations: 63.98 kB / 1.109 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/0.9629, allocations: 203.6 kB / 1.11 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/0.9633, allocations: 210 kB / 1.11 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003071/0.9636, allocations: 139.9 kB / 1.11 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.005928/0.9695, allocations: 3.971 MB / 1.114 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9695, allocations: 4 kB / 1.114 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00593/0.9755, allocations: 2.031 MB / 1.116 GB, free: 32 kB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009692/0.9852, allocations: 8.686 MB / 1.124 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006371/0.9915, allocations: 5.251 MB / 1.129 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9915, allocations: 4 kB / 1.129 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/0.9942, allocations: 2.373 MB / 1.132 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01234/1.007, allocations: 3.383 MB / 1.135 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7459/1.752, allocations: 52.74 MB / 1.187 GB, free: 267.6 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003434/1.756, allocations: 4.142 MB / 1.191 GB, free: 265.5 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.005148/1.761, allocations: 2.062 MB / 1.193 GB, free: 264.9 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002713/1.764, allocations: 2.676 MB / 1.195 GB, free: 262.6 MB / 0.9168 GB Notification: Performance of SimCode: time 1.853e-06/1.764, allocations: 0 / 1.195 GB, free: 262.6 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/1.909, allocations: 171 MB / 1.362 GB, free: 99.06 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/14.11, allocations: 8.016 kB / 1.362 GB, free: 99.05 MB / 0.9168 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.23398783011362] Failed to read output from testmodel.py, exit status != 0: 14.266804243903607 14.274559459 13.552328906 Calling exit ...