Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.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.001265/0.001265, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001783/0.001783, allocations: 209.7 kB / 22.24 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.9552/0.9552, allocations: 230.6 MB / 256 MB, free: 9.598 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.793/0.793, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",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.0009598/0.0009598, allocations: 66.69 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.535, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001426/0.5364, allocations: 0.6855 MB / 0.8185 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.5371, allocations: 0.859 MB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.5372, allocations: 4 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.5372, allocations: 7.812 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.5373, allocations: 4.547 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.5374, allocations: 21.36 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.5375, allocations: 45.33 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.5376, allocations: 14.27 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.5377, allocations: 20.28 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.5378, allocations: 25.3 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.5378, allocations: 5.781 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.5378, allocations: 0.7812 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.5378, allocations: 17.94 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.5378, allocations: 15.47 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.88e-05/0.5379, allocations: 49.36 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5379, allocations: 0 / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.538, allocations: 3.938 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.538, allocations: 0 / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003812/0.5383, allocations: 283.8 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5384, allocations: 9.719 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.5384, allocations: 35.41 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.5384, allocations: 1.734 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.816e-05/0.5385, allocations: 116.8 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5385, allocations: 8.922 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.5385, allocations: 7.031 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.5387, allocations: 64.42 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.5387, allocations: 0 / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.5387, allocations: 1.188 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5387, allocations: 2.234 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.5388, allocations: 54.98 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.5391, allocations: 248.9 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.5393, allocations: 62.03 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.5393, allocations: 35.23 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.5394, allocations: 0.9688 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.5394, allocations: 38.08 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5394, allocations: 0 / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002695/0.5397, allocations: 115.3 kB / 0.8206 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.5397, allocations: 51.41 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.5397, allocations: 109.1 kB / 0.8207 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.5398, allocations: 25.7 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.5398, allocations: 89.55 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.5398, allocations: 12.55 kB / 0.8208 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.5398, allocations: 20.8 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.5399, allocations: 320 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.54, allocations: 26.16 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.54, allocations: 29.3 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.5401, allocations: 60.23 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5401, allocations: 0 / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001365/0.5403, allocations: 80.48 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5403, allocations: 4.688 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5403, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5403, allocations: 4.406 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.5404, allocations: 15.56 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5404, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.5404, allocations: 11.91 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.5404, allocations: 4.688 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.639e-05/0.5405, allocations: 112.8 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.5405, allocations: 7.719 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.5405, allocations: 12.5 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5405, allocations: 0 / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5405, allocations: 2.953 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5405, allocations: 4 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.5406, allocations: 144.9 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.5406, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.5407, allocations: 11.89 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.5407, allocations: 7.703 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.5407, allocations: 0.7969 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.5407, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.5407, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.5409, allocations: 185.6 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.5409, allocations: 10.67 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.5409, allocations: 3.938 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.5409, allocations: 6.828 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.541, allocations: 12.28 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.541, allocations: 2.375 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.541, allocations: 93.75 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.541, allocations: 0 / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000143/0.5412, allocations: 7.656 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003281/0.5415, allocations: 0.711 MB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.5416, allocations: 56.5 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.5416, allocations: 0 / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.5417, allocations: 36.3 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.5419, allocations: 3.422 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.5429, allocations: 1.327 MB / 0.8241 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.5429, allocations: 64.66 kB / 0.8241 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.5429, allocations: 12.64 kB / 0.8242 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.543, allocations: 26.62 kB / 0.8242 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.543, allocations: 0 / 0.8242 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.5574, allocations: 2.386 MB / 0.8265 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/7.311, allocations: 6.781 kB / 0.8265 GB, free: 10.76 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs_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_Abs.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.323877404909581] Failed to read output from testmodel.py, exit status != 0: 7.390474034938961 7.402397379 6.860442038 Calling exit ...