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.0007981/0.0007981, allocations: 80.44 kB / 19.14 MB, free: 0.6289 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.0008137/0.0008137, allocations: 169.9 kB / 22.43 MB, free: 1.992 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.8934/0.8934, 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.6856/0.6856, allocations: 155 MB / 414.2 MB, free: 476 kB / 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.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.0009443/0.0009443, allocations: 69.59 kB / 0.6187 GB, free: 13.25 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.431, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001392/0.4324, allocations: 0.6872 MB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007387/0.4331, allocations: 0.8547 MB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.4331, allocations: 0 / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.4332, allocations: 5.562 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.4332, allocations: 4.547 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.4334, allocations: 28.02 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.4335, allocations: 47.03 kB / 0.7198 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4336, allocations: 11.62 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.4336, allocations: 26.09 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.4337, allocations: 33.3 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.4337, allocations: 3.375 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.4337, allocations: 4.625 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.4337, allocations: 7.312 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.4338, allocations: 22.8 kB / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.79e-05/0.4339, allocations: 52.56 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4339, allocations: 4 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4339, allocations: 0 / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4339, allocations: 0 / 0.72 GB, free: 21.97 MB / 0.6355 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.000356/0.4342, allocations: 281.6 kB / 0.7203 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4343, allocations: 15.66 kB / 0.7203 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.356e-05/0.4343, allocations: 37.47 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.4343, allocations: 10.39 kB / 0.7203 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.071e-05/0.4344, allocations: 112 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4344, allocations: 1.844 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.4344, allocations: 7.625 kB / 0.7205 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.4346, allocations: 63.12 kB / 0.7205 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.4346, allocations: 1.438 kB / 0.7205 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.4346, allocations: 8.5 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.4346, allocations: 1.469 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4347, allocations: 51.41 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.435, allocations: 256.9 kB / 0.7208 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.4351, allocations: 60.36 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.4352, allocations: 36.05 kB / 0.7209 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.4352, allocations: 1.125 kB / 0.7209 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.4352, allocations: 31.47 kB / 0.7209 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.4352, allocations: 4.875 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002673/0.4355, allocations: 106.1 kB / 0.721 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.4355, allocations: 57.33 kB / 0.7211 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.4356, allocations: 109.8 kB / 0.7212 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/0.4356, allocations: 26.77 kB / 0.7212 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.4356, allocations: 91.7 kB / 0.7213 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.4356, allocations: 9.547 kB / 0.7213 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.4356, allocations: 20.12 kB / 0.7213 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.001e-05/0.4357, allocations: 322.2 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.4357, allocations: 23.23 kB / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.249e-05/0.4358, allocations: 27.22 kB / 0.7217 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.4359, allocations: 53.41 kB / 0.7218 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4359, allocations: 3.938 kB / 0.7218 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/0.436, allocations: 84.69 kB / 0.7218 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.436, allocations: 8.562 kB / 0.7218 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.436, allocations: 1.031 kB / 0.7218 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.436, allocations: 1.25 kB / 0.7218 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.4361, allocations: 11.94 kB / 0.7219 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.4361, allocations: 0 / 0.7219 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.4362, allocations: 15.86 kB / 0.7219 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.4362, allocations: 2.047 kB / 0.7219 GB, free: 20.32 MB / 0.6355 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 4.285e-05/0.4362, allocations: 109.5 kB / 0.722 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.4362, allocations: 3.078 kB / 0.722 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.4363, allocations: 13.78 kB / 0.722 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4363, allocations: 0 / 0.722 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4363, allocations: 1.703 kB / 0.722 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4363, allocations: 4.734 kB / 0.722 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.94e-05/0.4364, allocations: 140.3 kB / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4364, allocations: 0.6094 kB / 0.7221 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.4364, allocations: 16.02 kB / 0.7222 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4364, allocations: 3.938 kB / 0.7222 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.4364, allocations: 1.688 kB / 0.7222 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4364, allocations: 1.906 kB / 0.7222 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4364, allocations: 8 kB / 0.7222 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.4365, allocations: 184.9 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.4366, allocations: 1.062 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.4366, allocations: 6.031 kB / 0.7223 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.4366, allocations: 7.188 kB / 0.7224 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.4367, allocations: 12.11 kB / 0.7224 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4367, allocations: 5.625 kB / 0.7224 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.079e-05/0.4367, allocations: 83.94 kB / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4367, allocations: 0 / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001415/0.4368, allocations: 19.56 kB / 0.7225 GB, free: 19.76 MB / 0.6355 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.0002497/0.4371, allocations: 0.7074 MB / 0.7232 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.4373, allocations: 56.75 kB / 0.7232 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4373, allocations: 0 / 0.7232 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.144e-05/0.4373, allocations: 33 kB / 0.7232 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.4375, allocations: 12.03 kB / 0.7233 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.4384, allocations: 1.322 MB / 0.7246 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.4384, allocations: 65.78 kB / 0.7246 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.4385, allocations: 8.094 kB / 0.7246 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.4385, allocations: 22.91 kB / 0.7246 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.4385, allocations: 0 / 0.7246 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.4553, allocations: 2.548 MB / 0.7271 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.509/6.965, allocations: 13.73 kB / 0.7271 GB, free: 16.85 MB / 0.6355 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: 9.593791014049202] Failed to read output from testmodel.py, exit status != 0: 7.04384910594672 7.054004549 6.618269169 Calling exit ...