Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0008629/0.0008629, 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.0009178/0.0009178, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9012/0.9012, allocations: 177.2 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.6975/0.6975, allocations: 154.6 MB / 413.8 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.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.364e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001387/0.001411, allocations: 0.6746 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.002357, allocations: 0.8626 MB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.002401, allocations: 3.938 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.002434, allocations: 0 / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.00252, allocations: 7.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.002668, allocations: 19.92 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.002743, allocations: 51.84 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.002842, allocations: 19.91 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.002913, allocations: 19.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.002962, allocations: 19.92 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.00299, allocations: 8 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.002998, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.003017, allocations: 11.97 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.003041, allocations: 19.92 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.033e-05/0.003131, allocations: 43.91 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003134, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003135, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.00314, allocations: 0 / 0.6198 GB, free: 11.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003801/0.00352, allocations: 278.3 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.003558, allocations: 9.469 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.003585, allocations: 38.69 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.003609, allocations: 8.891 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.003696, allocations: 109.7 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.003712, allocations: 8.312 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.003722, allocations: 4.375 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.003854, allocations: 73.95 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003861, allocations: 3.984 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.00387, allocations: 0 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.003874, allocations: 0 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.003989, allocations: 51.95 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.004314, allocations: 255.9 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.004439, allocations: 66.48 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.004493, allocations: 32.91 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.004507, allocations: 0 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.004526, allocations: 30.56 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.004527, allocations: 0 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002442/0.004771, allocations: 113.6 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.004946, allocations: 51.41 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.28e-05/0.005008, allocations: 113.8 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.005019, allocations: 29.64 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.005056, allocations: 88.12 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.005072, allocations: 11.89 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.005099, allocations: 17.72 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.005167, allocations: 322.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.005221, allocations: 23.98 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.005266, allocations: 27.97 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.005361, allocations: 48.81 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005363, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001254/0.005488, allocations: 89.55 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.0055, allocations: 4 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005504, allocations: 0 / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.005516, allocations: 7.984 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.005586, allocations: 11.98 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.005591, allocations: 7.938 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.005623, allocations: 4 kB / 0.6216 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.005629, allocations: 3.984 kB / 0.6217 GB, free: 9.82 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: 2 (reaToInt.y,intLesThr.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.95e-05/0.005688, allocations: 118.8 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.005702, allocations: 3.953 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.005722, allocations: 8 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005724, allocations: 0 / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.005728, allocations: 4 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005731, allocations: 336 / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.005844, allocations: 144.7 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005845, allocations: 0 / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.005883, allocations: 11.98 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005884, allocations: 0 / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.005894, allocations: 11.98 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.005895, allocations: 3.938 kB / 0.6219 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005896, allocations: 0 / 0.6219 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.006051, allocations: 183.4 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.006059, allocations: 3.953 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.00607, allocations: 4 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.006117, allocations: 11.98 kB / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.00616, allocations: 7.984 kB / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006165, allocations: 4 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.006194, allocations: 87.56 kB / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006194, allocations: 0 / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001465/0.006341, allocations: 12 kB / 0.6222 GB, free: 9.137 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: 2 (intLesThr.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.0003262/0.006667, allocations: 0.7124 MB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.006823, allocations: 55.94 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006824, allocations: 0 / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.006879, allocations: 39.84 kB / 0.623 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.007111, allocations: 6.031 kB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.008036, allocations: 1.327 MB / 0.6243 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.008079, allocations: 67.34 kB / 0.6244 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.008111, allocations: 8 kB / 0.6244 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.008158, allocations: 20.48 kB / 0.6244 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.008158, allocations: 0 / 0.6244 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.02443, allocations: 2.558 MB / 0.6269 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.84, allocations: 3.984 kB / 0.6269 GB, free: 4.375 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.485372552648187] Failed to read output from testmodel.py, exit status != 0: 6.924287614412606 6.935176015 6.929533748 Calling exit ...