Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.0009134/0.0009134, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001671/0.001671, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9141/0.9141, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7257/0.7257, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.846e-05, allocations: 10.91 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001406/0.001434, allocations: 0.7404 MB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.002541, allocations: 0.886 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.002603, allocations: 4 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.00264, allocations: 7.875 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/0.002721, allocations: 15.86 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.002895, allocations: 39.89 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.002986, allocations: 83.77 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.00309, allocations: 23.97 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.003181, allocations: 51.83 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.003245, allocations: 39.94 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.003272, allocations: 8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.003282, allocations: 11.94 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.003304, allocations: 19.97 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.003334, allocations: 27.92 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003453, allocations: 91.7 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003455, allocations: 4 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/0.003457, allocations: 0 / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.003461, allocations: 0 / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004507/0.003912, allocations: 314.1 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.003952, allocations: 9.469 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.003987, allocations: 38.73 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.004015, allocations: 12.89 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.004118, allocations: 124.9 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.004133, allocations: 4.375 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.004148, allocations: 12.31 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.004351, allocations: 105.9 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.00436, allocations: 4 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.004373, allocations: 3.984 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004379, allocations: 3.984 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.004591, allocations: 99.91 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.004973, allocations: 291.8 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.005335, allocations: 118.6 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.005437, allocations: 52.81 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.005457, allocations: 0 / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.005478, allocations: 42.48 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.005479, allocations: 0 / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003909/0.005869, allocations: 173.5 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.005897, allocations: 55.41 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.005973, allocations: 133.8 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005984, allocations: 25.7 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.006027, allocations: 92.08 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.006048, allocations: 19.84 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.006085, allocations: 33.62 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.006162, allocations: 318.8 kB / 0.6221 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/0.006261, allocations: 43.95 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.006352, allocations: 51.95 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.006547, allocations: 100.7 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006549, allocations: 0 / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004784/0.007027, allocations: 133.5 kB / 0.6224 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.007041, allocations: 10.19 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007045, allocations: 0.5469 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.007056, allocations: 0 / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.007143, allocations: 31.91 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.007151, allocations: 4 kB / 0.6224 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.007204, allocations: 11.92 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.007211, allocations: 7.938 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.795e-05/0.007279, allocations: 118.8 kB / 0.6225 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.007297, allocations: 15.94 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.007577, allocations: 150 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007579, allocations: 0 / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.007584, allocations: 4 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.007586, allocations: 0 / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.007719, allocations: 164.7 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00772, allocations: 0 / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.007789, allocations: 27.97 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.007793, allocations: 4 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.007802, allocations: 0 / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.007804, allocations: 3.938 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007805, allocations: 0 / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.008052, allocations: 231.3 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.008064, allocations: 15.95 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.008077, allocations: 0 / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.008144, allocations: 15.97 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.008203, allocations: 19.98 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.008209, allocations: 3.984 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.008245, allocations: 95.27 kB / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008245, allocations: 0 / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000168/0.008413, allocations: 19.94 kB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004394/0.008852, allocations: 0.767 MB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.00909, allocations: 103.9 kB / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.009091, allocations: 0 / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.0092, allocations: 63.89 kB / 0.6242 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.009449, allocations: 7.938 kB / 0.6242 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.01086, allocations: 1.545 MB / 0.6257 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.01091, allocations: 75.33 kB / 0.6258 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.01096, allocations: 15.98 kB / 0.6258 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.01103, allocations: 28.48 kB / 0.6258 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.01103, allocations: 0 / 0.6258 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.02891, allocations: 3.492 MB / 0.6292 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.095, allocations: 4.766 kB / 0.6292 GB, free: 2.047 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.888713113963604] Failed to read output from testmodel.py, exit status != 0: 7.176682197488844 7.19126169 7.185058447 Calling exit ...