Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001091/0.001091, 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.0008625/0.0008625, 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.8752/0.8752, 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.7114/0.7114, 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.LessEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.672e-05, allocations: 5.469 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002056/0.002083, allocations: 0.6834 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003164, allocations: 0.8587 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.003212, allocations: 3.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.003247, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.375e-05/0.00333, allocations: 3.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.003528, allocations: 27.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.76e-05/0.003625, allocations: 51.83 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.003756, allocations: 11.98 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.003858, allocations: 19.98 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.003928, allocations: 23.91 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.003959, allocations: 7.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.00397, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.003995, allocations: 11.98 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.004027, allocations: 19.92 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.004153, allocations: 47.84 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.004157, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.044e-06/0.004159, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.004165, allocations: 0 / 0.6199 GB, free: 11.84 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.0004937/0.004658, allocations: 274.3 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.004707, allocations: 12.02 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.004744, allocations: 34.75 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.004772, allocations: 4.891 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.004893, allocations: 109.7 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.004914, allocations: 12.31 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.004925, allocations: 384 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.005114, allocations: 77.95 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.005123, allocations: 7.922 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.005134, allocations: 0 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.005138, allocations: 0 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.005306, allocations: 51.94 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.005809, allocations: 247.9 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.006034, allocations: 70.47 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/0.006124, allocations: 32.92 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.00615, allocations: 3.984 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.006182, allocations: 30.56 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.006184, allocations: 0 / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0003879/0.006572, allocations: 109.6 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.006609, allocations: 51.41 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/0.006699, allocations: 113.8 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.006713, allocations: 25.7 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.006763, allocations: 88.14 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.006782, allocations: 7.953 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.006827, allocations: 21.7 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.00693, allocations: 318.8 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.007016, allocations: 23.97 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.007087, allocations: 23.98 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.007238, allocations: 48.81 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.007241, allocations: 4 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002236/0.007464, allocations: 93.53 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.007483, allocations: 4 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.00749, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.007506, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.00762, allocations: 15.92 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.007628, allocations: 4 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.007688, allocations: 11.92 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.007695, allocations: 4 kB / 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,intLesEquThr.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 9.017e-05/0.007786, allocations: 118.8 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.007813, allocations: 3.953 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.007842, allocations: 7.984 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.007846, allocations: 7.938 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.007851, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007855, allocations: 336 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.008031, allocations: 144.8 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008032, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.008104, allocations: 11.98 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.008107, allocations: 4 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.008119, allocations: 7.984 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.008124, allocations: 7.922 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.008126, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.008387, allocations: 179.4 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.008401, allocations: 7.953 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.008416, allocations: 4 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.008496, allocations: 7.984 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.008559, allocations: 11.98 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.008565, allocations: 4 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.00861, allocations: 83.28 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.00861, allocations: 0 / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002454/0.008855, allocations: 12 kB / 0.6223 GB, free: 9.066 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 (intLesEquThr.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.000515/0.00937, allocations: 0.7123 MB / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.009588, allocations: 55.95 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.00959, allocations: 0 / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.00969, allocations: 35.91 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.01005, allocations: 5.719 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.01156, allocations: 1.319 MB / 0.6244 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.01162, allocations: 75.28 kB / 0.6245 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.748e-05/0.01166, allocations: 3.984 kB / 0.6245 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.01173, allocations: 16.5 kB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of SimCode: time 8.51e-07/0.01173, allocations: 0 / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.03221, allocations: 2.564 MB / 0.627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/6.888, allocations: 6.219 kB / 0.627 GB, free: 4.312 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_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_LessEqualThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.6048822728917] Failed to read output from testmodel.py, exit status != 0: 6.97056841943413 6.980064033 6.97408369 Calling exit ...