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.0007166/0.0007166, 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.001011/0.001011, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8819/0.8819, 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.7159/0.7159, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.407e-05, allocations: 8.891 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00148/0.001504, allocations: 0.6866 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.002273, allocations: 0.8587 MB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.002316, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.002343, allocations: 3.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.002415, allocations: 3.938 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.002564, allocations: 31.95 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/0.002641, allocations: 39.92 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.002745, allocations: 15.92 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.00283, allocations: 27.91 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.002884, allocations: 19.97 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.002909, allocations: 7.938 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.002917, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.002936, allocations: 8 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.002959, allocations: 15.97 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.003056, allocations: 51.8 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003058, allocations: 0 / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.51e-07/0.003059, allocations: 4 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.003064, allocations: 0 / 0.6198 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.0005102/0.003574, allocations: 274.3 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.003616, allocations: 12.03 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.003653, allocations: 30.75 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.003675, allocations: 8.891 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.003771, allocations: 113.7 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.003786, allocations: 4.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.003796, allocations: 4.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.003921, allocations: 73.91 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.003928, allocations: 0 / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.003936, allocations: 0 / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003941, allocations: 4 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.004053, allocations: 51.94 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.004347, allocations: 247.9 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.004468, allocations: 70.41 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.004526, allocations: 36.91 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.004539, allocations: 0 / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004558, allocations: 38.56 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004558, allocations: 0 / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000355/0.004913, allocations: 105.6 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.004941, allocations: 55.34 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.005006, allocations: 117.8 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.005015, allocations: 29.7 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.005051, allocations: 80.14 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.005068, allocations: 11.95 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.005097, allocations: 21.7 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.005172, allocations: 314.8 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.005225, allocations: 23.97 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.005271, allocations: 24.17 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.005371, allocations: 60.89 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005373, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001287/0.005502, allocations: 89.53 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.005513, allocations: 4 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.005518, allocations: 4 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005529, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.005606, allocations: 11.98 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.005611, allocations: 0 / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.005649, allocations: 15.92 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.005654, allocations: 4 kB / 0.6217 GB, free: 9.742 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,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 6.054e-05/0.005715, allocations: 114.8 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.00573, allocations: 7.953 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.005752, allocations: 15.98 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005754, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.005758, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005761, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.005877, allocations: 144.8 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005878, allocations: 0 / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.005915, allocations: 19.92 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.005917, allocations: 0 / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.005924, allocations: 4 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.005927, allocations: 3.984 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005928, allocations: 0 / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.006081, allocations: 183.4 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.006091, allocations: 7.953 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.006101, allocations: 0 / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.006144, allocations: 8 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.006189, allocations: 15.97 kB / 0.6222 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006193, allocations: 4 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.00622, allocations: 83.28 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00622, allocations: 0 / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001438/0.006364, allocations: 8 kB / 0.6223 GB, free: 9.062 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 (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.000323/0.006687, allocations: 0.7162 MB / 0.623 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.006832, allocations: 55.89 kB / 0.623 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006834, allocations: 0 / 0.623 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/0.006892, allocations: 39.91 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.007099, allocations: 2.031 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.008362, allocations: 1.335 MB / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.008403, allocations: 63.34 kB / 0.6245 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.008435, allocations: 7.984 kB / 0.6245 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.008477, allocations: 16.5 kB / 0.6245 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.008477, allocations: 3.938 kB / 0.6245 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.02214, allocations: 2.542 MB / 0.627 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/6.638, allocations: 10.72 kB / 0.627 GB, free: 4.309 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.287618135102093] Failed to read output from testmodel.py, exit status != 0: 6.71991275344044 6.732744489 6.728009368 Calling exit ...