Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.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.0008016/0.0008016, 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.00077/0.00077, 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.8559/0.8559, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.6995/0.6995, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.207e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001601/0.001623, allocations: 0.8081 MB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002643, allocations: 0.9248 MB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.002703, allocations: 4 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.002805, allocations: 15.8 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.002904, allocations: 15.81 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.003076, allocations: 59.86 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.003217, allocations: 131.7 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.003342, allocations: 25.28 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.003441, allocations: 83.86 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.003559, allocations: 67.84 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.00359, allocations: 15.94 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.003605, allocations: 12 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.003653, allocations: 35.83 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.003702, allocations: 39.89 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.003857, allocations: 155.5 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.003861, allocations: 0 / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.683e-06/0.003863, allocations: 0 / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.003868, allocations: 0 / 0.6204 GB, free: 11.33 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006017/0.00447, allocations: 373.7 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.004508, allocations: 9.469 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.004542, allocations: 38.75 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.004575, allocations: 12.84 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.00474, allocations: 150.1 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.004756, allocations: 8.375 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.004771, allocations: 12.12 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.005032, allocations: 151.6 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.005039, allocations: 0 / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.00505, allocations: 4 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005054, allocations: 0 / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.00535, allocations: 163.8 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.005811, allocations: 359.6 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.006275, allocations: 166.5 kB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.006429, allocations: 80.88 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.00645, allocations: 4 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.00647, allocations: 38.56 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.006471, allocations: 0 / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005405/0.007011, allocations: 285.3 kB / 0.6222 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.007042, allocations: 59.34 kB / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.00715, allocations: 149.2 kB / 0.6224 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.007168, allocations: 37.62 kB / 0.6224 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.007217, allocations: 96.09 kB / 0.6225 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.007243, allocations: 31.73 kB / 0.6225 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.00729, allocations: 29.7 kB / 0.6225 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.007366, allocations: 322.8 kB / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.007507, allocations: 75.92 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.007637, allocations: 75.92 kB / 0.623 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.007903, allocations: 152.7 kB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007906, allocations: 0 / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003191/0.008225, allocations: 205.4 kB / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.008239, allocations: 7.938 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.008245, allocations: 4.656 kB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.008262, allocations: 0 / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.00839, allocations: 39.89 kB / 0.6234 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.008394, allocations: 4 kB / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.00847, allocations: 27.92 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.008478, allocations: 0 / 0.6234 GB, free: 8.027 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.169e-05/0.00856, allocations: 126.8 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.008581, allocations: 15.88 kB / 0.6236 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.008609, allocations: 20.72 kB / 0.6236 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.008611, allocations: 0 / 0.6236 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.008615, allocations: 0 / 0.6236 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008618, allocations: 8 kB / 0.6236 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.008779, allocations: 188.6 kB / 0.6238 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.008782, allocations: 4 kB / 0.6238 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.008882, allocations: 35.95 kB / 0.6238 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.008885, allocations: 4 kB / 0.6238 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.008896, allocations: 7.922 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008898, allocations: 7.875 kB / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008899, allocations: 0 / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.009278, allocations: 299.3 kB / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.009294, allocations: 15.84 kB / 0.6241 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.009313, allocations: 3.938 kB / 0.6241 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.009404, allocations: 23.97 kB / 0.6241 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.009481, allocations: 31.95 kB / 0.6242 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.009489, allocations: 4 kB / 0.6242 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.009544, allocations: 119.2 kB / 0.6243 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009544, allocations: 0 / 0.6243 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001656/0.009709, allocations: 19.94 kB / 0.6243 GB, free: 7.039 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0005981/0.01031, allocations: 0.8411 MB / 0.6251 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.01066, allocations: 167.9 kB / 0.6253 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01067, allocations: 0 / 0.6253 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.01083, allocations: 95.84 kB / 0.6254 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01104, allocations: 18.19 kB / 0.6254 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.01283, allocations: 1.843 MB / 0.6272 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.683e-05/0.0129, allocations: 93.25 kB / 0.6273 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.277e-05/0.01297, allocations: 24.48 kB / 0.6273 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.01306, allocations: 52.47 kB / 0.6274 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/0.01306, allocations: 0 / 0.6274 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.03167, allocations: 4.679 MB / 0.6319 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.129, allocations: 3.938 kB / 0.6319 GB, free: 15.29 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum_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_MultiSum.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.828099062666297] Failed to read output from testmodel.py, exit status != 0: 7.21102252881974 7.226213307 7.220208408 Calling exit ...