Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001174/0.001174, 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.001529/0.001529, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9185/0.9185, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7597/0.7597, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.63e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002036/0.002063, allocations: 0.6785 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.003252, allocations: 0.8587 MB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.0033, allocations: 0 / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.003336, allocations: 11.92 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.003419, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.003598, allocations: 15.98 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003698, allocations: 55.83 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.003817, allocations: 11.94 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.003913, allocations: 23.97 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.003983, allocations: 23.91 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.004015, allocations: 8 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.004026, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.004048, allocations: 7.984 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.004078, allocations: 11.94 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.004192, allocations: 51.84 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.004197, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004198, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.004205, allocations: 3.984 kB / 0.6198 GB, free: 11.92 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.0004857/0.004691, allocations: 266.3 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.004739, allocations: 13.47 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.004781, allocations: 42.73 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.004812, allocations: 12.88 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.004938, allocations: 109.7 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.004955, allocations: 4.375 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.004969, allocations: 4.375 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.005176, allocations: 77.89 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005185, allocations: 0 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.005196, allocations: 0 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.005203, allocations: 4 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.007612, allocations: 47.95 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.00802, allocations: 247.9 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.008166, allocations: 66.48 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.008229, allocations: 32.91 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.008249, allocations: 4 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.008267, allocations: 34.56 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.008268, allocations: 0 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000267/0.008535, allocations: 117.5 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.008565, allocations: 51.41 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.008629, allocations: 117.7 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.008638, allocations: 25.7 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.008677, allocations: 84.14 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.008695, allocations: 11.95 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.008728, allocations: 17.7 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.008804, allocations: 318.8 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.008863, allocations: 27.97 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.008911, allocations: 19.98 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.009013, allocations: 52.81 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.009015, allocations: 0 / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.009149, allocations: 93.53 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.009164, allocations: 4 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.009169, allocations: 4 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.009182, allocations: 4 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.009278, allocations: 11.98 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.009283, allocations: 0 / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.009317, allocations: 11.92 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.009323, allocations: 3.938 kB / 0.6216 GB, free: 9.824 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.282e-05/0.009386, allocations: 119.1 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.0094, allocations: 3.953 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.009423, allocations: 15.98 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.009426, allocations: 4 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.009431, allocations: 0 / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.009434, allocations: 0 / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.009547, allocations: 148.7 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.009548, allocations: 0 / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.009589, allocations: 15.98 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009591, allocations: 0 / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.009599, allocations: 0 / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.0096, allocations: 4 kB / 0.6219 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009601, allocations: 0 / 0.6219 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.009768, allocations: 187.4 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.009782, allocations: 7.953 kB / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.009794, allocations: 0 / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.009838, allocations: 7.984 kB / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.009889, allocations: 11.98 kB / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.009892, allocations: 0 / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.009926, allocations: 91.56 kB / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009926, allocations: 4 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001492/0.01008, allocations: 4 kB / 0.6222 GB, free: 9.137 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.0003637/0.01044, allocations: 0.7202 MB / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.01059, allocations: 51.94 kB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.01059, allocations: 3.938 kB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.01065, allocations: 35.91 kB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01089, allocations: 10.19 kB / 0.623 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009946/0.01188, allocations: 1.327 MB / 0.6243 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.01193, allocations: 63.34 kB / 0.6244 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.01196, allocations: 8 kB / 0.6244 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.01202, allocations: 24.48 kB / 0.6244 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.01202, allocations: 0 / 0.6244 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.02653, allocations: 2.551 MB / 0.6269 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/6.919, allocations: 7.422 kB / 0.6269 GB, free: 4.379 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.839527068659663] Failed to read output from testmodel.py, exit status != 0: 7.000171382911503 7.009832106 7.003842005 Calling exit ...