Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.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.001184/0.001184, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009506/0.0009506, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9162/0.9162, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7108/0.7108, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.Less,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.46e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/2.046e-05, allocations: 3.688 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Less): time 0.003346/0.003366, allocations: 1.961 MB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.005346, allocations: 1.292 MB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.005465, allocations: 0 / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.00585, allocations: 171.3 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.006217, allocations: 207 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.006472, allocations: 167.5 kB / 0.6218 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.006771, allocations: 343 kB / 0.6221 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.006904, allocations: 28.92 kB / 0.6222 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.007077, allocations: 195.5 kB / 0.6223 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.007244, allocations: 143.6 kB / 0.6225 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.007272, allocations: 12 kB / 0.6225 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.007375, allocations: 67.84 kB / 0.6226 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.007462, allocations: 99.61 kB / 0.6227 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.007525, allocations: 71.7 kB / 0.6227 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.007849, allocations: 374.8 kB / 0.6231 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.007852, allocations: 0 / 0.6231 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.007853, allocations: 0 / 0.6231 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.007858, allocations: 0 / 0.6231 GB, free: 8.559 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000756/0.008613, allocations: 0.578 MB / 0.6236 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.008656, allocations: 12.03 kB / 0.6237 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.008692, allocations: 38.75 kB / 0.6237 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.00875, allocations: 36.7 kB / 0.6237 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.009121, allocations: 328.1 kB / 0.624 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.009139, allocations: 11.94 kB / 0.6241 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.009158, allocations: 4 kB / 0.6241 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.009373, allocations: 115.5 kB / 0.6242 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.009381, allocations: 0 / 0.6242 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.009393, allocations: 4 kB / 0.6242 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.009399, allocations: 8 kB / 0.6242 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.009513, allocations: 59.95 kB / 0.6242 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.01008, allocations: 459.5 kB / 0.6247 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.01031, allocations: 134.7 kB / 0.6248 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.01038, allocations: 52.77 kB / 0.6249 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.0104, allocations: 4 kB / 0.6249 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.01057, allocations: 111.3 kB / 0.625 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.01057, allocations: 0 / 0.625 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003675/0.01094, allocations: 233.3 kB / 0.6252 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.01097, allocations: 59.34 kB / 0.6252 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005454/0.01152, allocations: 0.5289 MB / 0.6258 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.01154, allocations: 33.69 kB / 0.6258 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.01187, allocations: 180.4 kB / 0.626 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.0119, allocations: 35.72 kB / 0.626 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.01197, allocations: 69.97 kB / 0.6261 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.01206, allocations: 346.8 kB / 0.6264 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.01219, allocations: 108.5 kB / 0.6265 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.01232, allocations: 135.6 kB / 0.6266 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.01252, allocations: 184.2 kB / 0.6268 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01252, allocations: 0 / 0.6268 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003242/0.01285, allocations: 339 kB / 0.6271 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01286, allocations: 4 kB / 0.6271 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01286, allocations: 8.047 kB / 0.6271 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01288, allocations: 11.94 kB / 0.6271 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.013, allocations: 51.91 kB / 0.6272 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.013, allocations: 0 / 0.6272 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.01308, allocations: 12 kB / 0.6272 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.0131, allocations: 15.98 kB / 0.6272 GB, free: 4.105 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001234/0.01323, allocations: 178.7 kB / 0.6274 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.01326, allocations: 39.7 kB / 0.6274 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.01353, allocations: 212.7 kB / 0.6276 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01353, allocations: 7.938 kB / 0.6276 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01354, allocations: 0 / 0.6276 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01354, allocations: 0 / 0.6276 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01373, allocations: 260.6 kB / 0.6279 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01373, allocations: 3.984 kB / 0.6279 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.01377, allocations: 12 kB / 0.6279 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01377, allocations: 0 / 0.6279 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01378, allocations: 11.92 kB / 0.6279 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01378, allocations: 3.938 kB / 0.6279 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01378, allocations: 0 / 0.6279 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.01401, allocations: 224.8 kB / 0.6281 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.01406, allocations: 43.7 kB / 0.6282 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.01408, allocations: 11.97 kB / 0.6282 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.01413, allocations: 7.938 kB / 0.6282 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.01419, allocations: 23.97 kB / 0.6282 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.0142, allocations: 7.984 kB / 0.6282 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002325/0.01444, allocations: 327.1 kB / 0.6285 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01444, allocations: 0 / 0.6285 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002173/0.01465, allocations: 59.94 kB / 0.6286 GB, free: 2.625 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001206/0.01586, allocations: 1.107 MB / 0.6297 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.01627, allocations: 183.8 kB / 0.6299 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01627, allocations: 0 / 0.6299 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.01636, allocations: 67.84 kB / 0.6299 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01663, allocations: 91.14 kB / 0.63 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.01915, allocations: 3.235 MB / 0.6332 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.01927, allocations: 187.8 kB / 0.6333 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.01937, allocations: 66.86 kB / 0.6334 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.01949, allocations: 116.5 kB / 0.6335 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.01949, allocations: 0 / 0.6335 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.03752, allocations: 8.475 MB / 0.6418 GB, free: 5.352 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.233, allocations: 5.672 kB / 0.6418 GB, free: 5.352 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Less_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_Less.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.007860378362238] Failed to read output from testmodel.py, exit status != 0: 7.335458225570619 7.345339461 7.335693387 Calling exit ...