Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.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.001323/0.001323, allocations: 76.45 kB / 19.02 MB, free: 1.102 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.00144/0.00144, allocations: 159.2 kB / 22.29 MB, free: 3.512 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.451/1.451, allocations: 177.2 MB / 202.7 MB, free: 4.82 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.261/1.261, allocations: 154.7 MB / 413.8 MB, free: 3.129 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.AddParameter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",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.00202/0.00202, allocations: 74.8 kB / 0.6181 GB, free: 1.105 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.23/0.232, allocations: 102 MB / 0.7177 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002098/0.2341, allocations: 0.6747 MB / 0.7183 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2353, allocations: 0.8588 MB / 0.7192 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.2354, allocations: 0 / 0.7192 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.2354, allocations: 3.938 kB / 0.7192 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.2355, allocations: 7.922 kB / 0.7192 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.2357, allocations: 27.91 kB / 0.7192 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2358, allocations: 51.84 kB / 0.7192 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2359, allocations: 8.281 kB / 0.7193 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.236, allocations: 23.97 kB / 0.7193 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.2361, allocations: 35.78 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.2361, allocations: 4 kB / 0.7193 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.2361, allocations: 4 kB / 0.7193 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2361, allocations: 7.984 kB / 0.7193 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.2362, allocations: 11.94 kB / 0.7193 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.2363, allocations: 59.72 kB / 0.7194 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2363, allocations: 4 kB / 0.7194 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2363, allocations: 0 / 0.7194 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2363, allocations: 0 / 0.7194 GB, free: 9.445 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.0005699/0.2369, allocations: 278.2 kB / 0.7197 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2369, allocations: 8.031 kB / 0.7197 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.237, allocations: 34.75 kB / 0.7197 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.237, allocations: 8.891 kB / 0.7197 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2372, allocations: 114.4 kB / 0.7198 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2372, allocations: 384 / 0.7198 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2372, allocations: 11.94 kB / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2374, allocations: 65.66 kB / 0.7199 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2374, allocations: 0 / 0.7199 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2374, allocations: 7.984 kB / 0.7199 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2375, allocations: 0 / 0.7199 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.2377, allocations: 47.95 kB / 0.7199 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.2383, allocations: 259.8 kB / 0.7202 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.2385, allocations: 62.53 kB / 0.7203 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2387, allocations: 36.91 kB / 0.7203 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2387, allocations: 0 / 0.7203 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2387, allocations: 30.56 kB / 0.7203 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2387, allocations: 0 / 0.7203 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004609/0.2392, allocations: 113.5 kB / 0.7204 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2392, allocations: 55.41 kB / 0.7205 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.858e-05/0.2393, allocations: 109.8 kB / 0.7206 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2393, allocations: 29.7 kB / 0.7206 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.2394, allocations: 88.09 kB / 0.7207 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2394, allocations: 15.83 kB / 0.7207 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.2395, allocations: 17.7 kB / 0.7207 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.2396, allocations: 318.8 kB / 0.721 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2397, allocations: 27.97 kB / 0.7211 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2398, allocations: 23.97 kB / 0.7211 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.24, allocations: 56.77 kB / 0.7211 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.24, allocations: 0 / 0.7211 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002522/0.2403, allocations: 85.59 kB / 0.7212 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2403, allocations: 8 kB / 0.7212 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2403, allocations: 0 / 0.7212 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2403, allocations: 3.938 kB / 0.7212 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2405, allocations: 11.98 kB / 0.7212 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2405, allocations: 0 / 0.7212 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.2405, allocations: 15.92 kB / 0.7213 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2405, allocations: 4 kB / 0.7213 GB, free: 7.34 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,addPar.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.0001039/0.2406, allocations: 109.8 kB / 0.7214 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.2407, allocations: 4 kB / 0.7214 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.2407, allocations: 11.98 kB / 0.7214 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2407, allocations: 0 / 0.7214 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.2407, allocations: 3.938 kB / 0.7214 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2407, allocations: 3.938 kB / 0.7214 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.2409, allocations: 136.8 kB / 0.7215 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2409, allocations: 0 / 0.7215 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.386e-05/0.241, allocations: 15.98 kB / 0.7215 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.241, allocations: 4 kB / 0.7215 GB, free: 7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.241, allocations: 3.984 kB / 0.7215 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.241, allocations: 0 / 0.7215 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.241, allocations: 0 / 0.7215 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.2414, allocations: 183.4 kB / 0.7217 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.2414, allocations: 4 kB / 0.7217 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2414, allocations: 0 / 0.7217 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2415, allocations: 11.98 kB / 0.7217 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.2415, allocations: 11.98 kB / 0.7217 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.2416, allocations: 7.938 kB / 0.7218 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.2416, allocations: 91.52 kB / 0.7218 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2416, allocations: 0 / 0.7218 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002229/0.2419, allocations: 15.89 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 (addPar.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.0006778/0.2425, allocations: 0.7128 MB / 0.7226 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.2428, allocations: 55.89 kB / 0.7226 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.2428, allocations: 8 kB / 0.7226 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2429, allocations: 27.97 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.0003261/0.2433, allocations: 11.94 kB / 0.7227 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.2451, allocations: 1.328 MB / 0.7239 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.407e-05/0.2451, allocations: 67.34 kB / 0.724 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.908e-05/0.2452, allocations: 3.984 kB / 0.724 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.2452, allocations: 20.5 kB / 0.724 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.2452, allocations: 3.938 kB / 0.724 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.2786, allocations: 2.518 MB / 0.7265 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.78, allocations: 15.3 kB / 0.7265 GB, free: 1.891 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.91946615598863] Failed to read output from testmodel.py, exit status != 0: 11.8883119969978 11.921058556 11.679241128 Calling exit ...