Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0008352/0.0008352, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009075/0.0009075, 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.9421/0.9421, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7337/0.7337, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.784e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001214/0.001232, allocations: 0.6767 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.002072, allocations: 0.8587 MB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.002109, allocations: 3.938 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.002139, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.517e-05/0.002214, allocations: 7.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.002366, allocations: 23.97 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.421e-05/0.00244, allocations: 43.89 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.002545, allocations: 8 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.002632, allocations: 27.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.002691, allocations: 23.95 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.002718, allocations: 15.94 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.002728, allocations: 4 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.002747, allocations: 7.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.002772, allocations: 11.98 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.002868, allocations: 51.78 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00287, allocations: 0 / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002871, allocations: 0 / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.002875, 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.0004014/0.003277, allocations: 282.3 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.003326, allocations: 9.469 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.003361, allocations: 34.75 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.003387, allocations: 8.891 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.003499, allocations: 117.7 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.003514, allocations: 384 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.003523, allocations: 4.375 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.003672, allocations: 73.89 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.003681, allocations: 3.984 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.003692, allocations: 4 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.003698, allocations: 0 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.003812, allocations: 55.95 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.004154, allocations: 247.9 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.004281, allocations: 70.47 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.004338, allocations: 28.92 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.004352, allocations: 3.938 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.004371, allocations: 30.56 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.004371, allocations: 0 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002617/0.004633, allocations: 113.6 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.004663, allocations: 51.41 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.004722, allocations: 117.7 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.004734, allocations: 29.7 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.004772, allocations: 80.14 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.004788, allocations: 11.95 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.004815, allocations: 17.7 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8e-05/0.004895, allocations: 322.7 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.004943, allocations: 27.97 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.004989, allocations: 23.98 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.00508, allocations: 48.81 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005081, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001188/0.0052, allocations: 89.59 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.005211, allocations: 4 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.005215, allocations: 4 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/0.005224, allocations: 3.938 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.005291, allocations: 11.98 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.005295, allocations: 0 / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.005328, allocations: 15.92 kB / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.005331, allocations: 0 / 0.6216 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,intGreThr.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.965e-05/0.005391, allocations: 118.8 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.005404, allocations: 3.953 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.005423, allocations: 12 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005426, allocations: 3.984 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005428, allocations: 4 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.005429, allocations: 336 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.00554, allocations: 144.8 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.00554, allocations: 0 / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.005572, allocations: 11.98 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.005574, allocations: 3.984 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.005578, allocations: 7.938 kB / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005579, allocations: 0 / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005579, allocations: 0 / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.005727, allocations: 187.4 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.005735, allocations: 11.94 kB / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.005743, allocations: 0 / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.005786, allocations: 4 kB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.005828, allocations: 15.97 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.005833, allocations: 4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.696e-05/0.00586, allocations: 87.58 kB / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00586, allocations: 0 / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001357/0.005995, allocations: 8 kB / 0.6222 GB, free: 9.129 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 (intGreThr.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.0003097/0.006305, allocations: 0.7162 MB / 0.6229 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.006443, allocations: 55.95 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006444, allocations: 0 / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.0065, allocations: 27.97 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.0001794/0.00668, allocations: 8.281 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.0009281/0.007608, allocations: 1.335 MB / 0.6243 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.007651, allocations: 67.34 kB / 0.6244 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.007683, allocations: 11.98 kB / 0.6244 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.007724, allocations: 12.5 kB / 0.6244 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of SimCode: time 2.91e-07/0.007725, allocations: 4 kB / 0.6244 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.02205, allocations: 2.555 MB / 0.6269 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/6.771, allocations: 9.578 kB / 0.6269 GB, free: 4.367 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.54674098547548] Failed to read output from testmodel.py, exit status != 0: 6.851734658703208 6.860387134 6.855727003 Calling exit ...