Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0009526/0.0009526, 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.001148/0.001148, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.923/0.923, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.7061/0.7061, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.683e-05, allocations: 5.891 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0017/0.001717, allocations: 0.6932 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.002786, allocations: 0.8509 MB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.002829, allocations: 0 / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.002862, allocations: 3.938 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.002945, allocations: 19.88 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.003111, allocations: 19.97 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.901e-05/0.0032, allocations: 43.91 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.003312, allocations: 11.94 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.003411, allocations: 35.89 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.003478, allocations: 15.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.003508, allocations: 7.938 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.003519, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.00354, allocations: 11.92 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.003569, allocations: 11.98 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003677, allocations: 43.86 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003679, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00368, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.003687, allocations: 3.984 kB / 0.6198 GB, free: 11.94 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.0004554/0.004142, allocations: 270.3 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.004184, allocations: 13.47 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.004224, allocations: 34.73 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.004253, allocations: 8.891 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.004393, allocations: 117.7 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.004409, allocations: 384 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.00442, allocations: 8.375 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.004572, allocations: 69.91 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.004579, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.004587, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004591, allocations: 4 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.004704, allocations: 51.94 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.005021, allocations: 247.9 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.005149, allocations: 78.45 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.005204, allocations: 24.92 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.005218, allocations: 0 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.005237, allocations: 38.55 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.005238, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002545/0.005492, allocations: 109.6 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.00552, allocations: 51.41 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.005582, allocations: 121.7 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.005594, allocations: 29.7 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.005632, allocations: 84.14 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.005649, allocations: 15.95 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.00568, allocations: 17.7 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.005759, allocations: 322.8 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.005813, allocations: 23.97 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.00586, allocations: 19.98 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.005962, allocations: 52.81 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005963, allocations: 4 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.006092, allocations: 85.59 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.006105, allocations: 8 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006109, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.00612, allocations: 3.938 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.006193, allocations: 11.98 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.006198, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.006236, allocations: 11.98 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.006242, allocations: 0 / 0.6216 GB, free: 9.848 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,intLesEquThr.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 6.159e-05/0.006303, allocations: 118.8 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.006318, allocations: 7.953 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.006337, allocations: 8 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00634, allocations: 3.984 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.006344, allocations: 0 / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006346, allocations: 0 / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.006457, allocations: 140.7 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.00646, allocations: 4 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.006495, allocations: 15.98 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006496, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.006503, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.006505, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006505, allocations: 4 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.006661, allocations: 183.7 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.006671, allocations: 7.938 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.006683, allocations: 7.938 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.00673, allocations: 8 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.006779, allocations: 16.02 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006783, allocations: 3.984 kB / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.006813, allocations: 87.58 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006813, allocations: 0 / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001512/0.006965, allocations: 8 kB / 0.6222 GB, free: 9.16 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 (intLesEquThr.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.0003343/0.007299, allocations: 0.7201 MB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.007446, allocations: 55.95 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007448, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.007504, allocations: 31.97 kB / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.007692, allocations: 0 / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.008729, allocations: 1.331 MB / 0.6243 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.008769, allocations: 63.34 kB / 0.6244 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.791e-05/0.008816, allocations: 7.984 kB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.00886, allocations: 16.5 kB / 0.6244 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of SimCode: time 3.9e-07/0.00886, allocations: 0 / 0.6244 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.02358, allocations: 2.566 MB / 0.6269 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.711, allocations: 4.469 kB / 0.6269 GB, free: 4.406 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.377082793042064] Failed to read output from testmodel.py, exit status != 0: 6.794645689427853 6.804983527 6.798534564 Calling exit ...