Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001378/0.001378, 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.001105/0.001105, allocations: 169.9 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.9242/0.9242, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.7368/0.7368, allocations: 154.6 MB / 413.7 MB, free: 0.793 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.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.613e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001602/0.001628, allocations: 0.8062 MB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.002809, allocations: 0.925 MB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.00288, allocations: 0 / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.002985, allocations: 7.875 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.003101, allocations: 27.73 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.003321, allocations: 55.86 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.003492, allocations: 135.6 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.003643, allocations: 29.28 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003756, allocations: 79.86 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.003892, allocations: 67.78 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.003927, allocations: 16 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.003948, allocations: 12 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.004005, allocations: 35.83 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.004053, allocations: 39.91 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.004244, allocations: 155.5 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.004251, allocations: 4 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.405e-06/0.004253, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.004259, allocations: 0 / 0.6204 GB, free: 11.27 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.0006815/0.00494, allocations: 365.8 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.004987, allocations: 8.031 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.00503, allocations: 46.73 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.005066, allocations: 12.84 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.005248, allocations: 146.1 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.005263, allocations: 4.375 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.00528, allocations: 16.12 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.005559, allocations: 148.1 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.005566, allocations: 4 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.005581, allocations: 7.984 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005586, allocations: 0 / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.005879, allocations: 159.7 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.006358, allocations: 355.7 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.006818, allocations: 174.6 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.006964, allocations: 80.81 kB / 0.6219 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.006981, allocations: 0 / 0.6219 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.007, allocations: 38.5 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.007001, allocations: 0 / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005411/0.007542, allocations: 285.4 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.007575, allocations: 51.41 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.007678, allocations: 153.6 kB / 0.6224 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.007695, allocations: 29.7 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.007751, allocations: 108 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.007779, allocations: 31.73 kB / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.007824, allocations: 33.62 kB / 0.6226 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.007907, allocations: 322.8 kB / 0.6229 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.008058, allocations: 75.92 kB / 0.623 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.008199, allocations: 79.92 kB / 0.6231 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.008474, allocations: 152.7 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008477, allocations: 0 / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003257/0.008802, allocations: 197.5 kB / 0.6234 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.008817, allocations: 11.94 kB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008822, allocations: 0 / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.008834, allocations: 0 / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.008965, allocations: 43.89 kB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.008971, allocations: 3.984 kB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.009046, allocations: 23.94 kB / 0.6235 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.009059, allocations: 3.984 kB / 0.6235 GB, free: 7.961 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.283e-05/0.009142, allocations: 126.8 kB / 0.6236 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.009163, allocations: 7.953 kB / 0.6236 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.00919, allocations: 24.7 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009193, allocations: 0 / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.009198, allocations: 4 kB / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.009201, allocations: 0 / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.009356, allocations: 180.7 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.009359, allocations: 12.28 kB / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.009471, allocations: 35.89 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009472, allocations: 4 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.009484, allocations: 11.88 kB / 0.6239 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009485, allocations: 0 / 0.6239 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009486, allocations: 0 / 0.6239 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.009849, allocations: 299.3 kB / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.009868, allocations: 15.89 kB / 0.6242 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.009885, allocations: 7.938 kB / 0.6242 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.009974, allocations: 19.97 kB / 0.6242 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.01005, allocations: 31.95 kB / 0.6242 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.01006, allocations: 7.938 kB / 0.6242 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.01012, allocations: 115.2 kB / 0.6243 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01012, allocations: 0 / 0.6243 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001723/0.01029, allocations: 27.94 kB / 0.6244 GB, free: 6.98 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.0005714/0.01086, allocations: 0.8333 MB / 0.6252 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.01121, allocations: 167.8 kB / 0.6253 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01121, allocations: 0 / 0.6253 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.01137, allocations: 99.86 kB / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.01158, allocations: 19.72 kB / 0.6254 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.0133, allocations: 1.851 MB / 0.6273 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.241e-05/0.01336, allocations: 93.25 kB / 0.6273 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.319e-05/0.01343, allocations: 24.48 kB / 0.6274 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.01352, allocations: 48.47 kB / 0.6274 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.01352, allocations: 0 / 0.6274 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.02916, allocations: 4.673 MB / 0.632 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/6.72, allocations: 9.078 kB / 0.632 GB, free: 15.24 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.46138502843678] Failed to read output from testmodel.py, exit status != 0: 6.803160898387432 6.814635713 6.807895742 Calling exit ...