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.000819/0.000819, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001869/0.001869, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9175/0.9175, 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.7459/0.7459, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.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: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.618 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.386e-05, allocations: 2.281 kB / 0.618 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001394/0.001418, allocations: 0.6859 MB / 0.6187 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.002314, allocations: 0.8548 MB / 0.6196 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.002356, allocations: 7.938 kB / 0.6196 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.002385, allocations: 3.938 kB / 0.6196 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.002464, allocations: 7.938 kB / 0.6196 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.002633, allocations: 23.97 kB / 0.6196 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 9.066e-05/0.002724, allocations: 43.91 kB / 0.6196 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.002838, allocations: 7.984 kB / 0.6196 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.002925, allocations: 31.91 kB / 0.6197 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.002991, allocations: 19.97 kB / 0.6197 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.003019, allocations: 4 kB / 0.6197 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.003029, allocations: 4 kB / 0.6197 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.00305, allocations: 15.94 kB / 0.6197 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.003077, allocations: 15.97 kB / 0.6197 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.003182, allocations: 51.8 kB / 0.6198 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003184, allocations: 3.938 kB / 0.6198 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003186, allocations: 0 / 0.6198 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.00319, allocations: 0 / 0.6198 GB, free: 10.82 MB / 0.5417 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.0004092/0.003599, allocations: 278.2 kB / 0.62 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.003642, allocations: 9.469 kB / 0.6201 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.003674, allocations: 34.75 kB / 0.6201 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.003697, allocations: 4.938 kB / 0.6201 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.003809, allocations: 117.7 kB / 0.6202 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.003824, allocations: 4.375 kB / 0.6202 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.003835, allocations: 4.375 kB / 0.6202 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.003986, allocations: 65.97 kB / 0.6203 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.003996, allocations: 7.984 kB / 0.6203 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004006, allocations: 0 / 0.6203 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004011, allocations: 0 / 0.6203 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.004132, allocations: 55.89 kB / 0.6203 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.004506, allocations: 251.8 kB / 0.6206 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.004646, allocations: 62.53 kB / 0.6206 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/0.004722, allocations: 40.91 kB / 0.6207 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.00474, allocations: 0 / 0.6207 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.004762, allocations: 34.5 kB / 0.6207 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.004764, allocations: 0 / 0.6207 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002841/0.005048, allocations: 113.6 kB / 0.6208 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.005082, allocations: 55.41 kB / 0.6209 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.005147, allocations: 109.8 kB / 0.621 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.005162, allocations: 25.7 kB / 0.621 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.005206, allocations: 88.08 kB / 0.6211 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.005225, allocations: 11.91 kB / 0.6211 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.005259, allocations: 21.7 kB / 0.6211 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.005346, allocations: 314.8 kB / 0.6214 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.005404, allocations: 27.97 kB / 0.6214 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.005457, allocations: 31.92 kB / 0.6215 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.005563, allocations: 48.81 kB / 0.6215 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005565, allocations: 0 / 0.6215 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001439/0.005709, allocations: 85.97 kB / 0.6216 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.005723, allocations: 8 kB / 0.6216 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005728, allocations: 0 / 0.6216 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.00574, allocations: 0 / 0.6216 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/0.005838, allocations: 16.23 kB / 0.6216 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.005843, allocations: 0 / 0.6216 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.005881, allocations: 15.94 kB / 0.6216 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.005891, allocations: 8 kB / 0.6216 GB, free: 8.719 MB / 0.5417 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 7.737e-05/0.005968, allocations: 118.7 kB / 0.6218 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.005983, allocations: 4 kB / 0.6218 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.006009, allocations: 11.98 kB / 0.6218 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006012, allocations: 0 / 0.6218 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.006017, allocations: 0 / 0.6218 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.006021, allocations: 0 / 0.6218 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.006148, allocations: 148.8 kB / 0.6219 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00615, allocations: 0 / 0.6219 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.006192, allocations: 11.98 kB / 0.6219 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.006195, allocations: 0 / 0.6219 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.006205, allocations: 4 kB / 0.6219 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.006208, allocations: 3.984 kB / 0.6219 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006208, allocations: 0 / 0.6219 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.006386, allocations: 183.4 kB / 0.6221 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.006397, allocations: 7.938 kB / 0.6221 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.006409, allocations: 7.938 kB / 0.6221 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.006453, allocations: 11.94 kB / 0.6221 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.006514, allocations: 11.97 kB / 0.6222 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.006517, allocations: 0 / 0.6222 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.006563, allocations: 83.28 kB / 0.6222 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.006563, allocations: 7.938 kB / 0.6222 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001556/0.006719, allocations: 4 kB / 0.6222 GB, free: 8.031 MB / 0.5417 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.0003786/0.007097, allocations: 0.7241 MB / 0.6229 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.007265, allocations: 55.89 kB / 0.623 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.007267, allocations: 0 / 0.623 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.007328, allocations: 31.97 kB / 0.623 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.007565, allocations: 4 kB / 0.623 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.008669, allocations: 1.315 MB / 0.6243 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.007e-05/0.008729, allocations: 71.28 kB / 0.6244 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.008764, allocations: 0 / 0.6244 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.00882, allocations: 24.48 kB / 0.6244 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of SimCode: time 8.02e-07/0.00882, allocations: 0 / 0.6244 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.0257, allocations: 2.54 MB / 0.6269 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/6.837, allocations: 12.58 kB / 0.6269 GB, free: 3.293 MB / 0.5417 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.566522879526019] Failed to read output from testmodel.py, exit status != 0: 6.9193220352754 6.930123807 6.924357527 Calling exit ...