Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0009035/0.0009035, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001044/0.001044, allocations: 219.2 kB / 22.26 MB, free: 3.84 MB / 13.93 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 1.026/1.026, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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.8019/0.8019, allocations: 203.8 MB / 0.5042 GB, free: 10.62 MB / 410.7 MB " [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.GreaterEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.001015/0.001015, allocations: 62.47 kB / 0.7182 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5123, allocations: 102 MB / 0.8179 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001506/0.5138, allocations: 0.6974 MB / 0.8186 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.5146, allocations: 0.8748 MB / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.5146, allocations: 0 / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.5146, allocations: 0.7031 kB / 0.8194 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.5147, allocations: 5.734 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.5149, allocations: 31.52 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.515, allocations: 39.12 kB / 0.8195 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.5152, allocations: 14.8 kB / 0.8195 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.5153, allocations: 22.86 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.795e-05/0.5154, allocations: 24.3 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.5154, allocations: 3.688 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.5154, allocations: 8.812 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.5154, allocations: 12.61 kB / 0.8196 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.5155, allocations: 26.3 kB / 0.8196 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.5157, allocations: 44.83 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.5157, allocations: 0.6562 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.639e-06/0.5157, allocations: 0.9062 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.5157, allocations: 0 / 0.8196 GB, free: 15.86 MB / 0.6198 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.0005136/0.5162, allocations: 290.1 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5162, allocations: 7.328 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.5163, allocations: 40.08 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.5163, allocations: 5.406 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5164, allocations: 115.5 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5164, allocations: 384 / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.5164, allocations: 8.062 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.5166, allocations: 66.98 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.5166, allocations: 0 / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5166, allocations: 0.7031 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.5166, allocations: 2.656 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.5167, allocations: 60.08 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.5171, allocations: 260.5 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.5173, allocations: 56.42 kB / 0.8205 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.428e-05/0.5173, allocations: 38.02 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.5173, allocations: 0 / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.5174, allocations: 38.62 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.5174, allocations: 0 / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002589/0.5176, allocations: 102.5 kB / 0.8207 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.5176, allocations: 52.66 kB / 0.8207 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.5177, allocations: 110.4 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.5177, allocations: 27.97 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.5178, allocations: 90.34 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.5178, allocations: 9.516 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.5178, allocations: 21.12 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.5179, allocations: 316.7 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/0.518, allocations: 26.97 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.518, allocations: 32.08 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.5181, allocations: 50.41 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5181, allocations: 0 / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001428/0.5183, allocations: 87.16 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5183, allocations: 7.344 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5183, allocations: 0 / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5183, allocations: 0.5625 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.5184, allocations: 21.22 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5184, allocations: 0 / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.5184, allocations: 11.2 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.5184, allocations: 6.953 kB / 0.8215 GB, free: 14.2 MB / 0.6198 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,intGreEquThr.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.833e-05/0.5185, allocations: 115.4 kB / 0.8216 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.5185, allocations: 6.672 kB / 0.8216 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.5185, allocations: 5.672 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5186, allocations: 2.344 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5186, allocations: 4 kB / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5186, allocations: 0 / 0.8216 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.5187, allocations: 155 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.5187, allocations: 0 / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.5187, allocations: 11.72 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5187, allocations: 0.6562 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.5187, allocations: 2.984 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5187, allocations: 4 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5188, allocations: 0.7969 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.5189, allocations: 186.1 kB / 0.822 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.5189, allocations: 11.64 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.5189, allocations: 0.7031 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.519, allocations: 6.531 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.519, allocations: 12.73 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.519, allocations: 3.766 kB / 0.822 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003738/0.5194, allocations: 92.56 kB / 0.8221 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5194, allocations: 2.656 kB / 0.8221 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001497/0.5196, allocations: 12.86 kB / 0.8221 GB, free: 13.63 MB / 0.6198 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 (intGreEquThr.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.0004085/0.52, allocations: 0.7072 MB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.5202, allocations: 60.81 kB / 0.8229 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5202, allocations: 0 / 0.8229 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.325e-05/0.5202, allocations: 27.47 kB / 0.8229 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.5205, allocations: 12.8 kB / 0.8229 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.5216, allocations: 1.327 MB / 0.8242 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.5218, allocations: 0.6809 MB / 0.8249 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.5218, allocations: 5.391 kB / 0.8249 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.5218, allocations: 17.31 kB / 0.8249 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5218, allocations: 4 kB / 0.8249 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.5362, allocations: 1.969 MB / 0.8268 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.512/7.049, allocations: 7.688 kB / 0.8268 GB, free: 10.57 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.10582135990262] Failed to read output from testmodel.py, exit status != 0: 7.127651653019711 7.141699303 6.62330185 Calling exit ...