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.0007256/0.0007256, allocations: 72.45 kB / 19.9 MB, free: 24 kB / 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.0007204/0.0007204, allocations: 169.9 kB / 23.18 MB, free: 1.387 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.8413/0.8413, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.6847/0.6847, allocations: 154.7 MB / 414.7 MB, free: 0.75 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: translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum") [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.0008904/0.0008904, allocations: 73.42 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3752, allocations: 102 MB / 0.7191 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00137/0.3766, allocations: 0.7988 MB / 0.7199 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.3773, allocations: 0.924 MB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.3774, allocations: 1.156 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.086e-05/0.3775, allocations: 11.28 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.658e-05/0.3776, allocations: 20.03 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.3777, allocations: 54.88 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.3779, allocations: 130.5 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.378, allocations: 32.78 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.442e-05/0.3781, allocations: 77.39 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3782, allocations: 77.89 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3782, allocations: 12.53 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.3783, allocations: 12.12 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.3783, allocations: 38.3 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.3784, allocations: 44.61 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3785, allocations: 167.3 kB / 0.7215 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3785, allocations: 0 / 0.7215 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3785, allocations: 0 / 0.7215 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3785, allocations: 1.469 kB / 0.7215 GB, free: 22.19 MB / 0.6355 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.0005276/0.3791, allocations: 375.6 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3791, allocations: 10.33 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3791, allocations: 14.44 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3793, allocations: 152.4 kB / 0.722 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3793, allocations: 12.62 kB / 0.722 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3793, allocations: 6.266 kB / 0.722 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.3796, allocations: 148.8 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3796, allocations: 5.109 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3796, allocations: 5.062 kB / 0.7222 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3796, allocations: 2.312 kB / 0.7222 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3799, allocations: 155.4 kB / 0.7223 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.3803, allocations: 331.5 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.3808, allocations: 173.9 kB / 0.7228 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.3809, allocations: 80.52 kB / 0.7229 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3809, allocations: 3.078 kB / 0.7229 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073e-05/0.381, allocations: 31.44 kB / 0.7229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.381, allocations: 0 / 0.7229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005705/0.3815, allocations: 283.8 kB / 0.7232 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.3815, allocations: 54.81 kB / 0.7232 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.101e-05/0.3816, allocations: 152 kB / 0.7234 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3816, allocations: 30.73 kB / 0.7234 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.3817, allocations: 104.8 kB / 0.7235 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.3817, allocations: 33.31 kB / 0.7235 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.3817, allocations: 32.62 kB / 0.7236 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.376e-05/0.3818, allocations: 325.3 kB / 0.7239 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3819, allocations: 74.95 kB / 0.7239 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3821, allocations: 79.05 kB / 0.724 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.3824, allocations: 158.1 kB / 0.7242 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3824, allocations: 1.125 kB / 0.7242 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003461/0.3827, allocations: 199.9 kB / 0.7244 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3827, allocations: 9.969 kB / 0.7244 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3827, allocations: 3.984 kB / 0.7244 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3828, allocations: 0.5625 kB / 0.7244 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3829, allocations: 44.86 kB / 0.7244 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3829, allocations: 0.5156 kB / 0.7244 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.039e-05/0.383, allocations: 30.78 kB / 0.7244 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.383, allocations: 4.297 kB / 0.7244 GB, free: 20.26 MB / 0.6355 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 5.87e-05/0.383, allocations: 132.4 kB / 0.7246 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.3831, allocations: 12.58 kB / 0.7246 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.3831, allocations: 17.67 kB / 0.7246 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3831, allocations: 1.625 kB / 0.7246 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3831, allocations: 0 / 0.7246 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3831, allocations: 0.6094 kB / 0.7246 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.3832, allocations: 153.7 kB / 0.7247 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3832, allocations: 4.703 kB / 0.7248 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3833, allocations: 35.97 kB / 0.7248 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3833, allocations: 0.75 kB / 0.7248 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3833, allocations: 7.391 kB / 0.7248 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3833, allocations: 0 / 0.7248 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3833, allocations: 5.656 kB / 0.7248 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.3837, allocations: 306.8 kB / 0.7251 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.3837, allocations: 8.25 kB / 0.7251 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3837, allocations: 5.094 kB / 0.7251 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.3838, allocations: 26.69 kB / 0.7251 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.3839, allocations: 31.52 kB / 0.7252 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3839, allocations: 4.969 kB / 0.7252 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.3839, allocations: 119.4 kB / 0.7253 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3839, allocations: 1.281 kB / 0.7253 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001665/0.3841, allocations: 30.42 kB / 0.7253 GB, free: 19.65 MB / 0.6355 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 6.809e-05/0.3842, allocations: 98.48 kB / 0.7254 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.3845, allocations: 164 kB / 0.7256 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3845, allocations: 5.438 kB / 0.7256 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.3847, allocations: 87.2 kB / 0.7256 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.3849, allocations: 17.78 kB / 0.7257 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.3853, allocations: 279 kB / 0.7259 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.585e-05/0.3853, allocations: 94.03 kB / 0.726 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.3854, allocations: 21.69 kB / 0.726 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of SimCode: time 4.5e-07/0.3854, allocations: 0 / 0.726 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.002649/0.388, allocations: 1.873 MB / 0.7279 GB, free: 19.07 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.350312090944499] Failed to read output from testmodel.py, exit status != 0: 0.3929348529782146 0.40097701499999994 0.020768024000000003 Calling exit ...