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.00121/0.00121, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009916/0.0009916, allocations: 162 kB / 22.43 MB, free: 2.145 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.8905/0.8905, allocations: 177.2 MB / 202.8 MB, free: 5.766 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.7075/0.7075, allocations: 155 MB / 414.2 MB, free: 488 kB / 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.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.0009614/0.0009614, allocations: 74.3 kB / 0.6187 GB, free: 13.07 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4499, allocations: 102 MB / 0.7183 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001477/0.4514, allocations: 0.6767 MB / 0.7189 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007766/0.4522, allocations: 0.8621 MB / 0.7198 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.4522, allocations: 0 / 0.7198 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.4523, allocations: 1.906 kB / 0.7198 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.4523, allocations: 4.734 kB / 0.7198 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.4525, allocations: 27.45 kB / 0.7198 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.73e-05/0.4526, allocations: 40.98 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4527, allocations: 14.95 kB / 0.7199 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.4527, allocations: 30.69 kB / 0.7199 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.4528, allocations: 21.73 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.4528, allocations: 4.469 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.4528, allocations: 8.062 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.4529, allocations: 15.25 kB / 0.7199 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.4529, allocations: 18.03 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.453, allocations: 48.36 kB / 0.72 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.453, allocations: 0.9375 kB / 0.72 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.453, allocations: 0 / 0.72 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.453, allocations: 0 / 0.72 GB, free: 22.06 MB / 0.6355 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.0004271/0.4535, allocations: 284 kB / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4535, allocations: 11.09 kB / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.692e-05/0.4535, allocations: 32.48 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.4536, allocations: 7.922 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.092e-05/0.4536, allocations: 130.2 kB / 0.7204 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4537, allocations: 2.469 kB / 0.7204 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.4537, allocations: 6.5 kB / 0.7204 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4538, allocations: 65.83 kB / 0.7205 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4539, allocations: 3.984 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4539, allocations: 4 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4539, allocations: 1.312 kB / 0.7205 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.454, allocations: 52.78 kB / 0.7206 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.4543, allocations: 250.1 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4545, allocations: 62.02 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.4545, allocations: 30.02 kB / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.4546, allocations: 0 / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.4546, allocations: 40.7 kB / 0.7209 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.4546, allocations: 3.938 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002979/0.4549, allocations: 115.9 kB / 0.721 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.4549, allocations: 56.67 kB / 0.7211 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.455, allocations: 104.8 kB / 0.7212 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.455, allocations: 27.17 kB / 0.7212 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.455, allocations: 86.98 kB / 0.7213 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.455, allocations: 13.66 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.4551, allocations: 20.3 kB / 0.7213 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.4551, allocations: 317 kB / 0.7216 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.4552, allocations: 24.33 kB / 0.7217 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.4552, allocations: 26.78 kB / 0.7217 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.4553, allocations: 59.55 kB / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4553, allocations: 0 / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001485/0.4555, allocations: 84.38 kB / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4555, allocations: 6.031 kB / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4555, allocations: 0 / 0.7218 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.4555, allocations: 4 kB / 0.7218 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4556, allocations: 13.16 kB / 0.7219 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4556, allocations: 1.812 kB / 0.7219 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.4557, allocations: 10.14 kB / 0.7219 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4557, allocations: 2.172 kB / 0.7219 GB, free: 20.4 MB / 0.6355 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.11e-05/0.4557, allocations: 114.1 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.4558, allocations: 5.141 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.4558, allocations: 10.31 kB / 0.722 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4558, allocations: 1.188 kB / 0.722 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4558, allocations: 4.328 kB / 0.722 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4558, allocations: 5.797 kB / 0.722 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.4559, allocations: 140.3 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4559, allocations: 3.938 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.4559, allocations: 13.38 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.4559, allocations: 5.359 kB / 0.7222 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4559, allocations: 4.797 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.456, allocations: 5.219 kB / 0.7222 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.456, allocations: 3.984 kB / 0.7222 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.4561, allocations: 189.2 kB / 0.7223 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.4561, allocations: 3 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.4562, allocations: 1.969 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.4562, allocations: 5.75 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.4563, allocations: 12.41 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.4563, allocations: 5.922 kB / 0.7224 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.4563, allocations: 85.25 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4563, allocations: 1.156 kB / 0.7225 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001463/0.4564, allocations: 9.875 kB / 0.7225 GB, free: 19.83 MB / 0.6355 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.0003147/0.4567, allocations: 0.7191 MB / 0.7232 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.4569, allocations: 56.97 kB / 0.7232 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4569, allocations: 1.188 kB / 0.7232 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.499e-05/0.457, allocations: 33.88 kB / 0.7233 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.4572, allocations: 6.875 kB / 0.7233 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.4582, allocations: 1.312 MB / 0.7245 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.4582, allocations: 64.03 kB / 0.7246 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.4582, allocations: 8.484 kB / 0.7246 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.4583, allocations: 18.03 kB / 0.7246 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.4583, allocations: 1.125 kB / 0.7246 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.4782, allocations: 2.52 MB / 0.7271 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/7.087, allocations: 9.047 kB / 0.7271 GB, free: 16.93 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.766716316109523] Failed to read output from testmodel.py, exit status != 0: 7.163716958835721 7.172837823 6.718008146 Calling exit ...