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.000766/0.000766, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008905/0.0008905, allocations: 218.3 kB / 22.26 MB, free: 3.695 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 1.003/1.003, allocations: 230.6 MB / 256 MB, free: 9.621 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.7992/0.7992, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.001227/0.001227, allocations: 68.23 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5763, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001458/0.5777, allocations: 0.7026 MB / 0.8185 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007419/0.5785, allocations: 0.8757 MB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.5785, allocations: 1.625 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.5786, allocations: 4.594 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.5786, allocations: 6.078 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.5788, allocations: 23.22 kB / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.5789, allocations: 43.53 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.579, allocations: 10.61 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.5791, allocations: 26.28 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.5791, allocations: 29.78 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.5791, allocations: 5.844 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.5792, allocations: 2.281 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.5792, allocations: 11.77 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.5792, allocations: 26.08 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.5793, allocations: 43.72 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.5793, allocations: 0 / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5793, allocations: 0 / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5793, allocations: 0 / 0.8196 GB, free: 48 kB / 0.6042 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.0004383/0.5798, allocations: 284.8 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.5798, allocations: 10.55 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.5799, allocations: 34.45 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.5799, allocations: 0.9375 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.58, allocations: 116.2 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.58, allocations: 2.156 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.58, allocations: 7.594 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.5802, allocations: 73.36 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5802, allocations: 0 / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5802, allocations: 8 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.5802, allocations: 0.6094 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.5803, allocations: 52.77 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.5807, allocations: 252.3 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.5808, allocations: 65.16 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.5809, allocations: 37.22 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.5809, allocations: 1.219 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5809, allocations: 33.12 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.5809, allocations: 0 / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002636/0.5812, allocations: 109.3 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.5812, allocations: 63.77 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.5813, allocations: 102.4 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.5813, allocations: 31.36 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.5813, allocations: 89.14 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.5813, allocations: 12.41 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.5814, allocations: 18.59 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.5814, allocations: 317.9 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.5815, allocations: 32.73 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.5816, allocations: 23.42 kB / 0.8213 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.5817, allocations: 53.69 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5817, allocations: 0 / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.5818, allocations: 83.59 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5818, allocations: 6.359 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5818, allocations: 7.938 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5818, allocations: 1.062 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.5819, allocations: 15.03 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.5819, allocations: 0.8125 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.582, allocations: 5.234 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.582, allocations: 11.28 kB / 0.8215 GB, free: 14.39 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.933e-05/0.582, allocations: 110.5 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.582, allocations: 6.359 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.5821, allocations: 18.05 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5821, allocations: 1.281 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5821, allocations: 0.6094 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5821, allocations: 0 / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.5822, allocations: 150.6 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5822, allocations: 0 / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.5823, allocations: 13.78 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5823, allocations: 0 / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5823, allocations: 2.547 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5823, allocations: 0 / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5823, allocations: 4 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.5824, allocations: 188.2 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.5825, allocations: 8.453 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.5825, allocations: 0.7031 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.5825, allocations: 5.312 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.5826, allocations: 12.2 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5826, allocations: 5.859 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.5826, allocations: 91.12 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5826, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001422/0.5828, allocations: 7.875 kB / 0.8221 GB, free: 13.84 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.0003856/0.5831, allocations: 0.7118 MB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.5833, allocations: 57.05 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5833, allocations: 0 / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.5834, allocations: 33.73 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5836, allocations: 7.281 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.5847, allocations: 1.337 MB / 0.8242 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.5848, allocations: 0.683 MB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.5849, allocations: 2.719 kB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.5849, allocations: 21.73 kB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5849, allocations: 0 / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.6032, allocations: 1.942 MB / 0.8268 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/7.294, allocations: 5.188 kB / 0.8268 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.392633337061852] Failed to read output from testmodel.py, exit status != 0: 7.3713419758714736 7.384244251 6.802133419 Calling exit ...