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.0008503/0.0008503, 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.001127/0.001127, 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.9775/0.9775, allocations: 230.6 MB / 256 MB, free: 9.598 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.7885/0.7885, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001294/0.001294, allocations: 74.78 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5279, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001409/0.5293, allocations: 0.6919 MB / 0.8185 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007673/0.5301, allocations: 0.8543 MB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.5301, allocations: 0 / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.5301, allocations: 5.156 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.5302, allocations: 6.562 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.5304, allocations: 23.11 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.5305, allocations: 52.56 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.5306, allocations: 9.391 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.5306, allocations: 17.69 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.5307, allocations: 26.45 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.5307, allocations: 3 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.5307, allocations: 8.25 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.5307, allocations: 17.25 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.5308, allocations: 12.22 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.5309, allocations: 51.98 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5309, allocations: 4 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5309, allocations: 0 / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5309, 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.0004172/0.5313, allocations: 284.7 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5313, allocations: 9.375 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.5314, allocations: 38 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.5314, allocations: 8.344 kB / 0.8199 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.5315, allocations: 113.2 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.5315, allocations: 3.281 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.5315, allocations: 5.312 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.5316, allocations: 68.72 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5316, allocations: 1.156 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5317, allocations: 4 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.5317, allocations: 9.031 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.5318, allocations: 48.88 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.5321, allocations: 251.3 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.5323, allocations: 65.03 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.5323, allocations: 33.05 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.5324, allocations: 0 / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5324, allocations: 37.12 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5324, allocations: 0 / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002584/0.5326, allocations: 103.5 kB / 0.8206 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.5327, allocations: 60 kB / 0.8206 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.5327, allocations: 112.6 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5327, allocations: 25.7 kB / 0.8208 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.5328, allocations: 93.44 kB / 0.8208 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.5328, allocations: 7.953 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.5328, allocations: 23.19 kB / 0.8209 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.5329, allocations: 316.6 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.533, allocations: 25.75 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.776e-05/0.533, allocations: 21.34 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.5331, allocations: 54.75 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5331, allocations: 0.7031 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.5333, allocations: 90.22 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5333, allocations: 6.25 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5333, allocations: 0 / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5333, allocations: 0 / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.5334, allocations: 12.97 kB / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5334, allocations: 0 / 0.8214 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.5334, allocations: 10.73 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5334, allocations: 5.578 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,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.321e-05/0.5335, allocations: 110.5 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.5335, allocations: 6.828 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.5335, allocations: 9.828 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5335, allocations: 3.984 kB / 0.8215 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5335, allocations: 2.125 kB / 0.8215 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5335, allocations: 0.7031 kB / 0.8215 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.5337, allocations: 140.8 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5337, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.5337, allocations: 11.39 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5337, allocations: 0 / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.5337, allocations: 2.359 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.5337, allocations: 4.75 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5337, allocations: 4 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.5339, allocations: 188.4 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-06/0.5339, allocations: 10.45 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.5339, allocations: 2.188 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.5339, allocations: 10.98 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.534, allocations: 13.05 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.534, allocations: 0.6562 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.534, allocations: 86.88 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.534, allocations: 7.938 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001513/0.5342, allocations: 17.08 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 (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.0003683/0.5346, allocations: 0.7071 MB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.5347, allocations: 52.06 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5347, allocations: 4 kB / 0.8227 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.5348, allocations: 32.66 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.0002568/0.5351, allocations: 4.266 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.001047/0.5361, allocations: 1.326 MB / 0.8241 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.5361, allocations: 62.11 kB / 0.8241 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.5362, allocations: 9.797 kB / 0.8241 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.5362, allocations: 22.56 kB / 0.8242 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.5362, allocations: 0 / 0.8242 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.5518, allocations: 2.429 MB / 0.8265 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/7.238, allocations: 1.125 kB / 0.8265 GB, free: 10.75 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_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_GreaterEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.32118970528245] Failed to read output from testmodel.py, exit status != 0: 7.3159911232069135 7.328988161 6.796000759 Calling exit ...