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.001113/0.001113, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.000872/0.000872, allocations: 209.7 kB / 22.24 MB, free: 3.57 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 0.9607/0.9607, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.7855/0.7855, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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: 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.001493/0.001493, allocations: 71.78 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5546, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001639/0.5563, allocations: 0.743 MB / 0.8185 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008118/0.5571, allocations: 0.8882 MB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.5571, allocations: 1.156 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.5572, allocations: 9.656 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.5572, allocations: 14.5 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.5574, allocations: 39.88 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.5575, allocations: 89.05 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.5576, allocations: 17.89 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.5577, allocations: 36.34 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.5578, allocations: 50.7 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.5578, allocations: 9.719 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.5578, allocations: 10.44 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.5578, allocations: 16.97 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.5579, allocations: 30.31 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.558, allocations: 93.7 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.558, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.558, allocations: 1.219 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.558, allocations: 0 / 0.8198 GB, free: 15.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005345/0.5586, allocations: 318.2 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5586, allocations: 10.28 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.5587, allocations: 38.47 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.5587, allocations: 8.453 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.5588, allocations: 122.1 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.5588, allocations: 4.156 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.5588, allocations: 13.75 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.5591, allocations: 104.2 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.5591, allocations: 0 / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5591, allocations: 8 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5591, allocations: 3.281 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.5593, allocations: 94.44 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.5598, allocations: 297.7 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.5602, allocations: 124.2 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.5603, allocations: 54.39 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.5603, allocations: 0 / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.5603, allocations: 41.33 kB / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.5603, allocations: 0 / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004417/0.5608, allocations: 186.5 kB / 0.8212 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.5608, allocations: 52.11 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.5609, allocations: 127.9 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5609, allocations: 25.7 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.561, allocations: 92.61 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.561, allocations: 23.95 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.561, allocations: 23.45 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.5611, allocations: 324.1 kB / 0.8218 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.5612, allocations: 52.75 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.5613, allocations: 43.44 kB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.5615, allocations: 100.3 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5615, allocations: 0 / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000246/0.5618, allocations: 139.5 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5618, allocations: 5.625 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5618, allocations: 80 / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5618, allocations: 2.125 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.5619, allocations: 26.11 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5619, allocations: 7.922 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.562, allocations: 10.61 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.562, allocations: 7.859 kB / 0.8222 GB, free: 13.91 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: 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 7.563e-05/0.5621, allocations: 115 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.5621, allocations: 5.453 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.5621, allocations: 16.81 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5621, allocations: 0 / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5621, allocations: 3.938 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5621, allocations: 1.906 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.5623, allocations: 155.8 kB / 0.8225 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5623, allocations: 7.875 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.5624, allocations: 28.41 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5624, allocations: 1.031 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5624, allocations: 5.984 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5624, allocations: 2.062 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5624, allocations: 3.938 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.5627, allocations: 231.5 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.5627, allocations: 7.359 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.5627, allocations: 9.312 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.5628, allocations: 15.27 kB / 0.8228 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.5629, allocations: 26.3 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.5629, allocations: 2.797 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.5629, allocations: 100.9 kB / 0.8229 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5629, allocations: 0 / 0.8229 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000153/0.5631, allocations: 16.25 kB / 0.8229 GB, free: 13.31 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: 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.00047/0.5636, allocations: 0.7627 MB / 0.8236 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.5638, allocations: 109.9 kB / 0.8237 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5638, allocations: 0 / 0.8237 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.5639, allocations: 56.03 kB / 0.8238 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.5642, allocations: 21.8 kB / 0.8238 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.5659, allocations: 1.53 MB / 0.8253 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.099e-05/0.5659, allocations: 77.95 kB / 0.8254 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.526e-05/0.566, allocations: 12.53 kB / 0.8254 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.566, allocations: 31.48 kB / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.566, allocations: 0 / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.5864, allocations: 3.345 MB / 0.8287 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/7.309, allocations: 4.25 kB / 0.8287 GB, free: 10.26 MB / 0.6198 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: 10.272906095255166] Failed to read output from testmodel.py, exit status != 0: 7.38806875096634 7.398688436 6.838709952 Calling exit ...