Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.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.001674/0.001674, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.001978/0.001978, allocations: 168 kB / 22.29 MB, free: 3.516 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.407/1.407, allocations: 177.2 MB / 202.7 MB, free: 4.809 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.368/1.368, allocations: 154.7 MB / 413.8 MB, free: 3.145 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 178] 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.Abs,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",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.002015/0.002015, allocations: 71.64 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.2246/0.2266, allocations: 102 MB / 0.7177 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002004/0.2286, allocations: 0.6728 MB / 0.7183 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.23, allocations: 0.8626 MB / 0.7192 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.23, allocations: 4 kB / 0.7192 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.23, allocations: 3.938 kB / 0.7192 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.2301, allocations: 11.88 kB / 0.7192 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.2303, allocations: 23.91 kB / 0.7192 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.2304, allocations: 43.97 kB / 0.7192 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2305, allocations: 12.27 kB / 0.7192 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.2306, allocations: 27.86 kB / 0.7193 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.2307, allocations: 27.89 kB / 0.7193 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.2307, allocations: 4 kB / 0.7193 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.2307, allocations: 4 kB / 0.7193 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.2307, allocations: 11.94 kB / 0.7193 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.2308, allocations: 15.92 kB / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.2309, allocations: 55.8 kB / 0.7194 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2309, allocations: 0 / 0.7194 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2309, allocations: 0 / 0.7194 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2309, allocations: 0 / 0.7194 GB, free: 9.469 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.0005805/0.2315, allocations: 274.2 kB / 0.7197 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2315, allocations: 12.03 kB / 0.7197 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.2315, allocations: 34.75 kB / 0.7197 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.2316, allocations: 4.938 kB / 0.7197 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2317, allocations: 118.4 kB / 0.7198 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2317, allocations: 8.375 kB / 0.7198 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2318, allocations: 11.94 kB / 0.7198 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.232, allocations: 65.66 kB / 0.7199 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.232, allocations: 0 / 0.7199 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.232, allocations: 0 / 0.7199 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.232, allocations: 4 kB / 0.7199 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.2322, allocations: 51.88 kB / 0.7199 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.2327, allocations: 255.9 kB / 0.7202 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.2329, allocations: 70.56 kB / 0.7203 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2331, allocations: 28.88 kB / 0.7203 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2331, allocations: 4 kB / 0.7203 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2331, allocations: 30.56 kB / 0.7203 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2331, allocations: 0 / 0.7203 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004741/0.2336, allocations: 117.5 kB / 0.7204 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2336, allocations: 51.41 kB / 0.7205 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.2337, allocations: 105.9 kB / 0.7206 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2337, allocations: 29.69 kB / 0.7206 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.2338, allocations: 88.14 kB / 0.7207 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.2338, allocations: 7.906 kB / 0.7207 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.2339, allocations: 17.72 kB / 0.7207 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.234, allocations: 322.8 kB / 0.721 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2341, allocations: 23.98 kB / 0.7211 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.985e-05/0.2342, allocations: 23.97 kB / 0.7211 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.2345, allocations: 60.75 kB / 0.7211 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2345, allocations: 0 / 0.7211 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002569/0.2347, allocations: 89.58 kB / 0.7212 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2347, allocations: 4 kB / 0.7212 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2347, allocations: 0 / 0.7212 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2348, allocations: 4 kB / 0.7212 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.2349, allocations: 11.98 kB / 0.7212 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2349, allocations: 0 / 0.7212 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.235, allocations: 15.92 kB / 0.7213 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.235, allocations: 0 / 0.7213 GB, free: 7.367 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,abs1.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.0001034/0.2351, allocations: 117.8 kB / 0.7214 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.2351, allocations: 3.953 kB / 0.7214 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.2351, allocations: 12 kB / 0.7214 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2351, allocations: 0 / 0.7214 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2351, allocations: 0 / 0.7214 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2351, allocations: 3.938 kB / 0.7214 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.2353, allocations: 144.7 kB / 0.7215 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2353, allocations: 0 / 0.7215 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.2354, allocations: 15.98 kB / 0.7215 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2354, allocations: 3.938 kB / 0.7215 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2354, allocations: 256 / 0.7215 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2354, allocations: 4 kB / 0.7215 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2355, allocations: 4 kB / 0.7215 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.2358, allocations: 183.8 kB / 0.7217 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.2358, allocations: 3.953 kB / 0.7217 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2358, allocations: 8 kB / 0.7217 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2359, allocations: 11.98 kB / 0.7217 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.236, allocations: 7.984 kB / 0.7218 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.236, allocations: 7.938 kB / 0.7218 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.236, allocations: 83.27 kB / 0.7218 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.236, allocations: 0 / 0.7218 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002398/0.2363, allocations: 12 kB / 0.7219 GB, free: 6.68 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 (abs1.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.0006871/0.237, allocations: 0.7046 MB / 0.7225 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.2372, allocations: 63.94 kB / 0.7226 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2372, allocations: 0 / 0.7226 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.2374, allocations: 35.91 kB / 0.7226 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.2377, allocations: 7.938 kB / 0.7226 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.2396, allocations: 1.323 MB / 0.7239 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.2396, allocations: 67.33 kB / 0.724 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.2397, allocations: 4 kB / 0.724 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.2397, allocations: 16.5 kB / 0.724 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.2397, allocations: 0 / 0.724 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.2717, allocations: 2.525 MB / 0.7265 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.72, allocations: 10.22 kB / 0.7265 GB, free: 1.922 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.86519640799088] Failed to read output from testmodel.py, exit status != 0: 11.831432172999484 11.862758179 11.626124768 Calling exit ...