Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.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.0007496/0.0007496, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008582/0.0008582, allocations: 162 kB / 22.43 MB, free: 2.145 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.8846/0.8846, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6993/0.6993, allocations: 154.7 MB / 413.9 MB, free: 0.7617 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.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",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.0009417/0.0009417, allocations: 70.8 kB / 0.6183 GB, free: 13.59 MB / 0.5886 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.4515/0.4524, allocations: 101.9 MB / 0.7179 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.00168/0.4541, allocations: 0.7433 MB / 0.7186 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.4551, allocations: 0.8931 MB / 0.7195 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.4551, allocations: 1.094 kB / 0.7195 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.669e-05/0.4552, allocations: 5.344 kB / 0.7195 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.4553, allocations: 10.72 kB / 0.7195 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.4555, allocations: 42.89 kB / 0.7195 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.4557, allocations: 85.72 kB / 0.7196 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.4558, allocations: 23.67 kB / 0.7196 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.456, allocations: 57.61 kB / 0.7197 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.4561, allocations: 44.64 kB / 0.7197 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.4561, allocations: 8.219 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.4561, allocations: 7.875 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.4561, allocations: 27.64 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.4562, allocations: 33.78 kB / 0.7198 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.4564, allocations: 95.56 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4564, allocations: 0.7969 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.797e-06/0.4564, allocations: 0 / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.4564, allocations: 0 / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004789/0.4569, allocations: 324.1 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4569, allocations: 10 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.457, allocations: 36.67 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.457, allocations: 9.688 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/0.4571, allocations: 121.6 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4571, allocations: 3.594 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4571, allocations: 11.19 kB / 0.7204 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.4573, allocations: 105.4 kB / 0.7205 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4573, allocations: 3.938 kB / 0.7205 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4574, allocations: 4.812 kB / 0.7205 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4574, allocations: 1.812 kB / 0.7205 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.4576, allocations: 97.12 kB / 0.7206 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.458, allocations: 302.4 kB / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.4584, allocations: 115.6 kB / 0.721 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.4585, allocations: 61.2 kB / 0.7211 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.4586, allocations: 1.125 kB / 0.7211 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.4586, allocations: 33.48 kB / 0.7211 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.4586, allocations: 3.938 kB / 0.7211 GB, free: 21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004671/0.4591, allocations: 186.2 kB / 0.7213 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.4591, allocations: 56.47 kB / 0.7213 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.4592, allocations: 120.9 kB / 0.7214 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.4592, allocations: 25.7 kB / 0.7215 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.4592, allocations: 97.33 kB / 0.7216 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.4592, allocations: 16.94 kB / 0.7216 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.4593, allocations: 27.7 kB / 0.7216 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.4593, allocations: 314.2 kB / 0.7219 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.4594, allocations: 48.14 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.851e-05/0.4595, allocations: 48.45 kB / 0.722 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.4597, allocations: 96.09 kB / 0.7221 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4597, allocations: 1.25 kB / 0.7221 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002413/0.46, allocations: 142.3 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.46, allocations: 5.438 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.46, allocations: 80 / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.46, allocations: 1.25 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-05/0.4601, allocations: 24.7 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4601, allocations: 7.922 kB / 0.7223 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.4602, allocations: 32.94 kB / 0.7223 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4602, allocations: 6.578 kB / 0.7223 GB, free: 20.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.601e-05/0.4602, allocations: 120.2 kB / 0.7224 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.4602, allocations: 6.703 kB / 0.7224 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.4603, allocations: 10.64 kB / 0.7224 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4603, allocations: 1.062 kB / 0.7224 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4603, allocations: 6.188 kB / 0.7224 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4603, allocations: 0 / 0.7224 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.4604, allocations: 152.6 kB / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4604, allocations: 0 / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.4605, allocations: 32.95 kB / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4605, allocations: 0 / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.4605, allocations: 2.531 kB / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4605, allocations: 1.125 kB / 0.7226 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4605, allocations: 3.938 kB / 0.7226 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.4608, allocations: 236 kB / 0.7228 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.4608, allocations: 7.234 kB / 0.7229 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.4608, allocations: 5.406 kB / 0.7229 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.4609, allocations: 16.92 kB / 0.7229 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.4609, allocations: 24.77 kB / 0.7229 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4609, allocations: 3.531 kB / 0.7229 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.011e-05/0.461, allocations: 92.48 kB / 0.723 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.461, allocations: 0 / 0.723 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001545/0.4611, allocations: 16.06 kB / 0.723 GB, free: 19.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004246/0.4616, allocations: 0.7675 MB / 0.7238 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.4618, allocations: 101.7 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4618, allocations: 1.469 kB / 0.7239 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.462, allocations: 58.89 kB / 0.7239 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.4623, allocations: 13.92 kB / 0.7239 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.4636, allocations: 1.539 MB / 0.7254 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.348e-05/0.4636, allocations: 78.22 kB / 0.7255 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.471e-05/0.4637, allocations: 14.98 kB / 0.7255 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.4637, allocations: 32 kB / 0.7255 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/0.4637, allocations: 1.25 kB / 0.7255 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.4846, allocations: 3.476 MB / 0.7289 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.582/7.067, allocations: 12.95 kB / 0.729 GB, free: 16.46 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.80197849101387] Failed to read output from testmodel.py, exit status != 0: 7.1454670309321955 7.154816213 6.696632971 Calling exit ...