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.001285/0.001285, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.00143/0.00143, allocations: 167.8 kB / 22.29 MB, free: 3.516 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 1.447/1.447, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.243/1.243, allocations: 154.7 MB / 413.8 MB, free: 3.133 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: 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.002097/0.002097, allocations: 67.12 kB / 0.6181 GB, free: 1.102 MB / 0.5105 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.2551/0.2572, allocations: 102 MB / 0.7177 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002251/0.2595, allocations: 0.7986 MB / 0.7184 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.2609, allocations: 0.9171 MB / 0.7193 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.2609, allocations: 0 / 0.7193 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.2611, allocations: 15.8 kB / 0.7193 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.2612, allocations: 27.75 kB / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.2615, allocations: 59.92 kB / 0.7194 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.2617, allocations: 131.7 kB / 0.7196 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.2619, allocations: 33.27 kB / 0.7196 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.262, allocations: 75.81 kB / 0.7197 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.2622, allocations: 75.72 kB / 0.7197 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.2623, allocations: 12 kB / 0.7197 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.927e-05/0.2623, allocations: 12 kB / 0.7198 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.959e-05/0.2624, allocations: 35.89 kB / 0.7198 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.591e-05/0.2625, allocations: 51.66 kB / 0.7198 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.2627, allocations: 143.5 kB / 0.72 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2627, allocations: 0 / 0.72 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.258e-06/0.2627, allocations: 4 kB / 0.72 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2627, allocations: 0 / 0.72 GB, free: 8.832 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001042/0.2638, allocations: 377.7 kB / 0.7203 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.2638, allocations: 8.031 kB / 0.7203 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.2639, allocations: 38.75 kB / 0.7204 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.2639, allocations: 16.83 kB / 0.7204 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.2642, allocations: 155.9 kB / 0.7205 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2642, allocations: 7.984 kB / 0.7206 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.2643, allocations: 12 kB / 0.7206 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.2647, allocations: 145.5 kB / 0.7207 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2647, allocations: 0 / 0.7207 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.2648, allocations: 4 kB / 0.7207 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2648, allocations: 0 / 0.7207 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.2654, allocations: 161.3 kB / 0.7209 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.2661, allocations: 359.7 kB / 0.7212 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009054/0.267, allocations: 170.4 kB / 0.7214 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.2673, allocations: 84.95 kB / 0.7215 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2673, allocations: 0 / 0.7215 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.2674, allocations: 42.5 kB / 0.7215 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2674, allocations: 0 / 0.7215 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001082/0.2685, allocations: 281.5 kB / 0.7218 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.2685, allocations: 51.41 kB / 0.7218 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.2687, allocations: 161.7 kB / 0.722 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.2687, allocations: 25.7 kB / 0.722 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.2688, allocations: 112 kB / 0.7221 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.2689, allocations: 31.73 kB / 0.7221 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.269, allocations: 29.7 kB / 0.7222 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.2692, allocations: 326.8 kB / 0.7225 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.2695, allocations: 71.92 kB / 0.7225 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.2697, allocations: 75.92 kB / 0.7226 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.2703, allocations: 160.7 kB / 0.7228 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2703, allocations: 0 / 0.7228 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006521/0.271, allocations: 201.4 kB / 0.723 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.271, allocations: 14.19 kB / 0.723 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.271, allocations: 0 / 0.723 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.271, allocations: 0 / 0.723 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.2713, allocations: 40.55 kB / 0.723 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.2713, allocations: 0 / 0.723 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.2715, allocations: 23.92 kB / 0.723 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2715, allocations: 7.984 kB / 0.723 GB, free: 5.508 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: 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 0.0004041/0.2719, allocations: 121.8 kB / 0.7232 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.272, allocations: 11.89 kB / 0.7232 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.272, allocations: 20.77 kB / 0.7232 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.272, allocations: 3.938 kB / 0.7232 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.272, allocations: 4 kB / 0.7232 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.272, allocations: 0 / 0.7232 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.2723, allocations: 192.6 kB / 0.7234 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2723, allocations: 0 / 0.7234 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.2726, allocations: 35.95 kB / 0.7234 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2726, allocations: 0 / 0.7234 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.2726, allocations: 7.938 kB / 0.7234 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2726, allocations: 0 / 0.7234 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2726, allocations: 0 / 0.7234 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.2734, allocations: 303.2 kB / 0.7237 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.2734, allocations: 15.83 kB / 0.7237 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.2734, allocations: 3.984 kB / 0.7237 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2736, allocations: 23.98 kB / 0.7237 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2737, allocations: 35.95 kB / 0.7238 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.2738, allocations: 7.984 kB / 0.7238 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001082/0.2739, allocations: 115.2 kB / 0.7239 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2739, allocations: 0 / 0.7239 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002653/0.2741, allocations: 19.95 kB / 0.7239 GB, free: 4.535 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: 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.001132/0.2753, allocations: 0.8372 MB / 0.7247 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006523/0.2759, allocations: 167.9 kB / 0.7249 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2759, allocations: 4 kB / 0.7249 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.2762, allocations: 99.84 kB / 0.725 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2766, allocations: 15.98 kB / 0.725 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.2798, allocations: 1.842 MB / 0.7268 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.2799, allocations: 93.31 kB / 0.7269 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.28, allocations: 20.48 kB / 0.7269 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2802, allocations: 48.47 kB / 0.727 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.2802, allocations: 0 / 0.727 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.3162, allocations: 4.682 MB / 0.7315 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.9, allocations: 9.5 kB / 0.7315 GB, free: 12.73 MB / 0.6355 GB " [Timeout remaining time 648] (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: 15.960403935998329] Failed to read output from testmodel.py, exit status != 0: 12.01489210499858 12.044062587 11.775782733 Calling exit ...