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.0007931/0.0007931, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008823/0.0008823, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 0.9252/0.9252, allocations: 230.6 MB / 256 MB, free: 9.582 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.7986/0.7986, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.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: 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.0009974/0.0009974, allocations: 70.84 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5128/0.5138, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001505/0.5153, allocations: 0.6939 MB / 0.8185 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000779/0.5161, allocations: 0.855 MB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.5161, allocations: 0 / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.5161, allocations: 4.781 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.5162, allocations: 7.031 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.5164, allocations: 21.91 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.344e-05/0.5164, allocations: 52.36 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.5166, allocations: 14.08 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.5166, allocations: 18.77 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.5167, allocations: 24.7 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.5167, allocations: 4.406 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.5167, allocations: 3.969 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.5167, allocations: 13.92 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.5168, allocations: 15.53 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.5169, allocations: 51.33 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5169, allocations: 0.7031 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5169, allocations: 4 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.5169, allocations: 0 / 0.8195 GB, free: 15.83 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.0004367/0.5173, allocations: 281.9 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5174, allocations: 9.531 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.5174, allocations: 38.98 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.5174, allocations: 0.9375 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5176, allocations: 116.2 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5176, allocations: 2.375 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.5176, allocations: 7.469 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5177, allocations: 77.33 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5177, allocations: 4.641 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.5178, allocations: 4 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.5178, allocations: 0 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.5179, allocations: 48.5 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.5182, allocations: 252.1 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.5184, allocations: 65.39 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.5184, allocations: 35.81 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.5184, allocations: 2.078 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.5185, allocations: 34.27 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.5185, allocations: 0 / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002804/0.5187, allocations: 103.6 kB / 0.8206 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.5188, allocations: 56.92 kB / 0.8206 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.5188, allocations: 108 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.5188, allocations: 25.7 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.5189, allocations: 99.17 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.5189, allocations: 7.234 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.5189, allocations: 20.34 kB / 0.8209 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.519, allocations: 316.1 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.5191, allocations: 23.81 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/0.5191, allocations: 30.2 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.5193, allocations: 52.88 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5193, allocations: 4 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.5194, allocations: 85.45 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.5194, allocations: 5.844 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5194, allocations: 0.6094 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5194, allocations: 0 / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.5195, allocations: 16.92 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5195, allocations: 0.6094 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.5196, allocations: 8.266 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.5196, allocations: 12.22 kB / 0.8214 GB, free: 14.19 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,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 6.466e-05/0.5196, allocations: 106.6 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.5197, allocations: 1.938 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.5197, allocations: 9.703 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5197, allocations: 3.188 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5197, allocations: 0.7031 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5197, allocations: 0 / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.5198, allocations: 144 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5198, allocations: 0.7031 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.5199, allocations: 12.09 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5199, allocations: 4 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5199, allocations: 1.938 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5199, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5199, allocations: 5.219 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.5201, allocations: 188.3 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.5201, allocations: 7.234 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.5201, allocations: 4 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.5201, allocations: 14.81 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.5202, allocations: 10.33 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.5202, allocations: 9.25 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.5202, allocations: 91.77 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5202, allocations: 0 / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001473/0.5204, allocations: 10.33 kB / 0.822 GB, free: 13.62 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 (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.000645/0.521, allocations: 0.7093 MB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.5212, allocations: 62.48 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5212, allocations: 0 / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.5212, allocations: 30.05 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.5215, allocations: 3.391 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.5225, allocations: 1.324 MB / 0.8241 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.524e-05/0.5225, allocations: 72.02 kB / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.5226, allocations: 5.391 kB / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.5226, allocations: 20.12 kB / 0.8242 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/0.5226, allocations: 0 / 0.8242 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.5397, allocations: 2.419 MB / 0.8265 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/7.189, allocations: 14.48 kB / 0.8266 GB, free: 10.75 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.173520101699978] Failed to read output from testmodel.py, exit status != 0: 7.26691371621564 7.279176175 6.76018152 Calling exit ...