Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0009582/0.0009582, 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.00103/0.00103, 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.8959/0.8959, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7432/0.7432, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.65e-05, allocations: 9.453 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001387/0.001413, allocations: 0.6835 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.002182, allocations: 0.8587 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.002218, allocations: 4 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.002246, allocations: 3.938 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.002318, allocations: 7.922 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.002453, allocations: 19.98 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.278e-05/0.002535, allocations: 51.83 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.002635, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.002712, allocations: 31.97 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.002763, allocations: 19.91 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.002787, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.002796, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.002814, allocations: 19.92 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.002838, allocations: 11.94 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.916e-05/0.002927, allocations: 51.84 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002929, allocations: 3.938 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/0.002931, allocations: 0 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.002936, allocations: 0 / 0.6198 GB, free: 11.86 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.0003827/0.003318, allocations: 278.3 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.003357, allocations: 8.031 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.003389, allocations: 38.73 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.003413, allocations: 16.83 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.003517, allocations: 113.7 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.003531, allocations: 384 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.003541, allocations: 4.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.00368, allocations: 69.97 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.003687, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.003697, allocations: 4 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.003701, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.003817, allocations: 55.86 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.004158, allocations: 251.9 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.004292, allocations: 66.53 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.00435, allocations: 32.92 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.004366, allocations: 0 / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.004386, allocations: 38.48 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.004387, allocations: 0 / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002647/0.004652, allocations: 105.6 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.004682, allocations: 55.41 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.004749, allocations: 113.8 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.004761, allocations: 25.7 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.004804, allocations: 84.14 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.004819, allocations: 7.953 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.00485, allocations: 21.7 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.004925, allocations: 314.8 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.004981, allocations: 23.97 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.867e-05/0.005029, allocations: 31.92 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.005128, allocations: 52.81 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.00513, allocations: 0 / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.005262, allocations: 85.88 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.005275, allocations: 4 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005279, allocations: 0 / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.00529, allocations: 0 / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.005369, allocations: 16.03 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.005377, allocations: 0 / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.005416, allocations: 31.78 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005421, allocations: 0 / 0.6217 GB, free: 9.75 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,intLesThr.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 5.994e-05/0.005481, allocations: 118.7 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.005495, allocations: 3.953 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.005518, allocations: 11.98 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.005521, allocations: 4 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.005525, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.005527, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.00567, allocations: 140.7 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005671, allocations: 4 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.00571, allocations: 11.98 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.005712, allocations: 0 / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.005719, allocations: 3.984 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.00572, allocations: 0 / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.005722, allocations: 4 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.005879, allocations: 179.4 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-06/0.005888, allocations: 11.89 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.005899, allocations: 4 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.005946, allocations: 7.984 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.005993, allocations: 11.98 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.005998, allocations: 4 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.87e-05/0.006027, allocations: 83.36 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006027, allocations: 0 / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001466/0.006173, allocations: 8 kB / 0.6223 GB, free: 9.078 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 (intLesThr.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.0003442/0.006517, allocations: 0.7163 MB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.006668, allocations: 55.89 kB / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00667, allocations: 0 / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.006727, allocations: 27.97 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.006963, allocations: 14.02 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.007983, allocations: 1.323 MB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.413e-05/0.008027, allocations: 71.66 kB / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.00806, allocations: 0 / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.008109, allocations: 24.5 kB / 0.6245 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.00811, allocations: 0 / 0.6245 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02319, allocations: 2.554 MB / 0.627 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.738, allocations: 5.25 kB / 0.627 GB, free: 4.324 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.543496435508132] Failed to read output from testmodel.py, exit status != 0: 6.819232571870089 6.834449553 6.828599524 Calling exit ...