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.001199/0.001199, 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.001003/0.001003, allocations: 165.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.9054/0.9054, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7215/0.7215, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.053e-06/2.053e-06, allocations: 0 / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.126e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001485/0.001507, allocations: 0.804 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.00247, allocations: 0.9248 MB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.002539, allocations: 0 / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.002654, allocations: 19.86 kB / 0.6198 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.002768, allocations: 11.81 kB / 0.6198 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.00296, allocations: 63.84 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.00313, allocations: 127.7 kB / 0.62 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.003291, allocations: 33.28 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.003401, allocations: 75.8 kB / 0.6201 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.00355, allocations: 67.84 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.003589, allocations: 12 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.778e-05/0.003607, allocations: 12 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.003664, allocations: 39.89 kB / 0.6202 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.003709, allocations: 47.77 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.003874, allocations: 147.5 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003876, allocations: 0 / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003876, allocations: 0 / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.003881, allocations: 0 / 0.6204 GB, free: 11.38 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.0006334/0.004514, allocations: 373.7 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.004557, allocations: 9.469 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.004597, allocations: 42.75 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.004631, allocations: 20.84 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.004798, allocations: 150.1 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.004815, allocations: 8.375 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.004831, allocations: 12.12 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.005126, allocations: 144 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.005135, allocations: 0 / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.005148, allocations: 4 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.005153, allocations: 4 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.005446, allocations: 159.8 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.005911, allocations: 359.6 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.006382, allocations: 166.5 kB / 0.6218 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.006532, allocations: 84.91 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.006554, allocations: 4 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.006571, allocations: 30.56 kB / 0.6219 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/0.006573, allocations: 3.984 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005442/0.007117, allocations: 289.3 kB / 0.6222 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.007151, allocations: 59.41 kB / 0.6222 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.007243, allocations: 145.6 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.007257, allocations: 29.7 kB / 0.6224 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.00731, allocations: 108.1 kB / 0.6225 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.007336, allocations: 31.75 kB / 0.6225 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.007377, allocations: 29.64 kB / 0.6225 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.007461, allocations: 322.8 kB / 0.6228 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.007605, allocations: 71.92 kB / 0.6229 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.007738, allocations: 71.92 kB / 0.623 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.008017, allocations: 156.7 kB / 0.6231 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008019, allocations: 3.938 kB / 0.6231 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003195/0.008338, allocations: 209.4 kB / 0.6233 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.008351, allocations: 7.938 kB / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.008356, allocations: 0.6562 kB / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.008369, allocations: 0 / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.008488, allocations: 35.95 kB / 0.6234 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.008493, allocations: 3.938 kB / 0.6234 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.008569, allocations: 27.92 kB / 0.6234 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.008577, allocations: 8 kB / 0.6234 GB, free: 8.062 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 7.958e-05/0.008657, allocations: 130.8 kB / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.008678, allocations: 11.89 kB / 0.6236 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.008704, allocations: 20.72 kB / 0.6236 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.008706, allocations: 0 / 0.6236 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.008711, allocations: 4 kB / 0.6236 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.008715, allocations: 3.984 kB / 0.6236 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.008875, allocations: 184.7 kB / 0.6238 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008876, allocations: 0 / 0.6238 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.583e-05/0.008972, allocations: 39.95 kB / 0.6238 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.008973, allocations: 0 / 0.6238 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.008987, allocations: 11.92 kB / 0.6238 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.00899, allocations: 4 kB / 0.6238 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008991, allocations: 0 / 0.6238 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.009343, allocations: 299.3 kB / 0.6241 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.009361, allocations: 11.91 kB / 0.6241 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.009376, allocations: 3.938 kB / 0.6241 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.009464, allocations: 19.97 kB / 0.6241 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.009545, allocations: 39.89 kB / 0.6242 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.009551, allocations: 0 / 0.6242 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.009606, allocations: 115.2 kB / 0.6243 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.009606, allocations: 0 / 0.6243 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001775/0.009784, allocations: 23.94 kB / 0.6243 GB, free: 7.086 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.0006428/0.01043, allocations: 0.8372 MB / 0.6251 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.01081, allocations: 175.9 kB / 0.6253 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01081, allocations: 0 / 0.6253 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.01097, allocations: 95.84 kB / 0.6254 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01121, allocations: 12 kB / 0.6254 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.01318, allocations: 1.852 MB / 0.6272 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.077e-05/0.01326, allocations: 93.25 kB / 0.6273 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.675e-05/0.01333, allocations: 20.48 kB / 0.6273 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.01344, allocations: 52.47 kB / 0.6274 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.01344, allocations: 0 / 0.6274 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.03575, allocations: 4.675 MB / 0.6319 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.811/6.847, allocations: 6.781 kB / 0.6319 GB, free: 15.34 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.581469841301441] Failed to read output from testmodel.py, exit status != 0: 6.929444037377834 6.937352928 6.931762468 Calling exit ...