Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000851/0.000851, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001535/0.001535, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9089/0.9089, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.7085/0.7085, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.648e-05, allocations: 5.516 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001948/0.001974, allocations: 0.75 MB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.003104, allocations: 0.8797 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.003154, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.00319, allocations: 7.922 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.335e-05/0.003273, allocations: 15.88 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.003455, allocations: 43.88 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.00357, allocations: 79.83 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.003696, allocations: 27.92 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.003801, allocations: 47.89 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.00388, allocations: 39.88 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.003913, allocations: 8 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.003927, allocations: 8 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.003956, allocations: 23.91 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.003993, allocations: 27.92 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004131, allocations: 99.69 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004134, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004135, allocations: 0 / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.00414, allocations: 0 / 0.6201 GB, free: 11.66 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005571/0.004697, allocations: 318 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.004746, allocations: 13.47 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.004786, allocations: 30.75 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.00482, allocations: 8.891 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004945, allocations: 125.7 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.004962, allocations: 4.375 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.00498, allocations: 8.375 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.005259, allocations: 109.9 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.005269, allocations: 0 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.005282, allocations: 0 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.00529, allocations: 7.984 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.005584, allocations: 99.84 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.006096, allocations: 295.8 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.006598, allocations: 114.5 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.006752, allocations: 56.81 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.006772, allocations: 0 / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.006795, allocations: 42.56 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.006796, allocations: 0 / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005545/0.007351, allocations: 173.5 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.007392, allocations: 67.27 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/0.00749, allocations: 121.8 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.007506, allocations: 25.7 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.007556, allocations: 96.12 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.007582, allocations: 19.8 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.007634, allocations: 29.64 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.007732, allocations: 318.8 kB / 0.6221 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.007874, allocations: 43.95 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.008009, allocations: 55.92 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.008278, allocations: 96.78 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008281, allocations: 0 / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003271/0.008608, allocations: 141.5 kB / 0.6224 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.008626, allocations: 5.875 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.008633, allocations: 0.5469 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.008648, allocations: 4 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.008769, allocations: 23.97 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008775, allocations: 0 / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.008849, allocations: 11.98 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.008863, allocations: 7.938 kB / 0.6224 GB, free: 9.039 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: 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 9.195e-05/0.008955, allocations: 118.8 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.008985, allocations: 3.953 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.009015, allocations: 16.44 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.009018, allocations: 4 kB / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.009023, allocations: 0 / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009027, allocations: 0 / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.009231, allocations: 168.6 kB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009233, allocations: 0 / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.009339, allocations: 23.97 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.009344, allocations: 7.922 kB / 0.6228 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.009354, allocations: 3.938 kB / 0.6228 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.009356, allocations: 4 kB / 0.6228 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.009357, allocations: 0 / 0.6228 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.009726, allocations: 243.3 kB / 0.623 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.009741, allocations: 7.953 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.009758, allocations: 0 / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.009862, allocations: 11.98 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.009937, allocations: 19.97 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.009949, allocations: 7.984 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.01001, allocations: 98.66 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.01001, allocations: 4 kB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002636/0.01027, allocations: 15.94 kB / 0.6232 GB, free: 8.227 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: 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.0006338/0.0109, allocations: 0.7631 MB / 0.6239 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.01125, allocations: 103.9 kB / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01125, allocations: 0 / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.01141, allocations: 63.88 kB / 0.6241 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.01177, allocations: 15.94 kB / 0.6241 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.01368, allocations: 1.533 MB / 0.6256 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.523e-05/0.01375, allocations: 75.33 kB / 0.6256 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.712e-05/0.01381, allocations: 12 kB / 0.6257 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.0139, allocations: 32.47 kB / 0.6257 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.0139, allocations: 0 / 0.6257 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.03315, allocations: 3.476 MB / 0.6291 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/6.801, allocations: 13.41 kB / 0.6291 GB, free: 2.188 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.615911460481584] Failed to read output from testmodel.py, exit status != 0: 6.881715155206621 6.890451324 6.884569417 Calling exit ...