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.001254/0.001254, allocations: 68.47 kB / 19.02 MB, free: 1.125 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.001379/0.001379, allocations: 159.2 kB / 22.29 MB, free: 3.523 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 1.399/1.399, allocations: 177.2 MB / 202.7 MB, free: 4.816 MB / 186.7 MB " [Timeout remaining time 178] 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 1.25/1.25, allocations: 154.7 MB / 413.8 MB, free: 3.133 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: 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.002105/0.002105, allocations: 72.73 kB / 0.6181 GB, free: 1.113 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2286, allocations: 102 MB / 0.7177 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00254/0.2311, allocations: 0.6864 MB / 0.7183 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2323, allocations: 0.8587 MB / 0.7192 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.2324, allocations: 0 / 0.7192 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.2324, allocations: 3.938 kB / 0.7192 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.2325, allocations: 7.922 kB / 0.7192 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.2326, allocations: 23.97 kB / 0.7192 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.986e-05/0.2327, allocations: 43.91 kB / 0.7192 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2329, allocations: 12.28 kB / 0.7192 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.233, allocations: 35.78 kB / 0.7193 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.233, allocations: 23.91 kB / 0.7193 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.2331, allocations: 4 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.2331, allocations: 4 kB / 0.7193 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.2331, allocations: 19.92 kB / 0.7193 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2331, allocations: 11.94 kB / 0.7193 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2333, allocations: 47.78 kB / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2333, allocations: 0 / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2333, allocations: 0 / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2333, allocations: 0 / 0.7194 GB, free: 9.453 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.00063/0.2339, allocations: 286.2 kB / 0.7197 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.2339, allocations: 12.03 kB / 0.7197 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.234, allocations: 34.75 kB / 0.7197 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.234, allocations: 4.938 kB / 0.7197 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.2342, allocations: 122.4 kB / 0.7198 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2342, allocations: 4.312 kB / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.2342, allocations: 7.938 kB / 0.7198 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.2345, allocations: 61.66 kB / 0.7199 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2345, allocations: 0 / 0.7199 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2345, allocations: 8 kB / 0.7199 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2345, allocations: 4 kB / 0.7199 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.2348, allocations: 43.95 kB / 0.72 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.2353, allocations: 255.9 kB / 0.7202 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.2355, allocations: 62.48 kB / 0.7203 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2357, allocations: 40.89 kB / 0.7203 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2357, allocations: 8 kB / 0.7203 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2357, allocations: 30.56 kB / 0.7203 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2357, allocations: 0 / 0.7203 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004702/0.2362, allocations: 105.6 kB / 0.7204 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.2363, allocations: 51.41 kB / 0.7205 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.2364, allocations: 109.8 kB / 0.7206 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2364, allocations: 29.7 kB / 0.7206 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.2365, allocations: 92.08 kB / 0.7207 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.2365, allocations: 11.89 kB / 0.7207 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.2365, allocations: 21.72 kB / 0.7207 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.2367, allocations: 318.8 kB / 0.721 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.2368, allocations: 19.98 kB / 0.7211 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.2369, allocations: 23.97 kB / 0.7211 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.2371, allocations: 56.81 kB / 0.7211 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2371, allocations: 0 / 0.7211 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002635/0.2374, allocations: 93.53 kB / 0.7212 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2374, allocations: 4 kB / 0.7212 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2374, allocations: 3.938 kB / 0.7212 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2374, allocations: 0 / 0.7212 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2376, allocations: 11.98 kB / 0.7212 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.2376, allocations: 0 / 0.7212 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.2377, allocations: 15.92 kB / 0.7213 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2377, allocations: 7.938 kB / 0.7213 GB, free: 7.336 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,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 0.0001074/0.2378, allocations: 109.8 kB / 0.7214 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2378, allocations: 4 kB / 0.7214 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.2379, allocations: 8 kB / 0.7214 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2379, allocations: 0 / 0.7214 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2379, allocations: 4 kB / 0.7214 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.2379, allocations: 3.938 kB / 0.7214 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2381, allocations: 136.7 kB / 0.7215 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2381, allocations: 0 / 0.7215 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.2382, allocations: 11.98 kB / 0.7215 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2382, allocations: 0 / 0.7215 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.2382, allocations: 4 kB / 0.7215 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.2382, allocations: 7.938 kB / 0.7215 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2382, allocations: 0 / 0.7215 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.2385, allocations: 183.4 kB / 0.7217 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.2386, allocations: 4 kB / 0.7217 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2386, allocations: 384 / 0.7217 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2387, allocations: 11.98 kB / 0.7217 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.2388, allocations: 11.98 kB / 0.7217 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.2388, allocations: 7.922 kB / 0.7218 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.191e-05/0.2388, allocations: 91.58 kB / 0.7218 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2388, allocations: 0 / 0.7218 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002225/0.239, allocations: 15.95 kB / 0.7219 GB, free: 6.66 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 (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.0006986/0.2397, allocations: 0.7085 MB / 0.7225 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.24, allocations: 55.94 kB / 0.7226 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.24, allocations: 0 / 0.7226 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.2402, allocations: 39.91 kB / 0.7226 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.2406, allocations: 17.97 kB / 0.7227 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.2424, allocations: 1.319 MB / 0.7239 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.384e-05/0.2425, allocations: 71.34 kB / 0.724 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.2426, allocations: 0 / 0.724 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.2426, allocations: 28.42 kB / 0.724 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2426, allocations: 0 / 0.724 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.2761, allocations: 2.538 MB / 0.7265 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.54, allocations: 7.312 kB / 0.7265 GB, free: 1.879 MB / 0.6198 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.56406525199418] Failed to read output from testmodel.py, exit status != 0: 11.649451263001538 11.679837767 11.441624822 Calling exit ...