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.0008557/0.0008557, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001013/0.001013, allocations: 208.1 kB / 22.25 MB, free: 3.574 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 0.9429/0.9429, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.7971/0.7971, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: 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.00106/0.00106, allocations: 70.64 kB / 0.7182 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5516, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001623/0.5532, allocations: 0.8029 MB / 0.8186 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009073/0.5542, allocations: 0.9254 MB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.5542, allocations: 0 / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.5543, allocations: 9.844 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.5544, allocations: 21.52 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.5546, allocations: 58.86 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.5548, allocations: 126.6 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.5549, allocations: 39.92 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.555, allocations: 59.97 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.5551, allocations: 69.98 kB / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.5552, allocations: 11.72 kB / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.726e-05/0.5552, allocations: 12.19 kB / 0.8199 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.5552, allocations: 38.25 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.5553, allocations: 50.58 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.5555, allocations: 141.3 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.5555, allocations: 0 / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.597e-06/0.5555, allocations: 4 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.5555, allocations: 0 / 0.8201 GB, free: 15.55 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.0007156/0.5563, allocations: 374.2 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5563, allocations: 7.75 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.5563, allocations: 40.47 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.5564, allocations: 14.66 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.5565, allocations: 154.4 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.5566, allocations: 10.5 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.5566, allocations: 9.75 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.5569, allocations: 152.6 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5569, allocations: 0 / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5569, allocations: 3.188 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5569, allocations: 0 / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.5572, allocations: 161.2 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.5577, allocations: 359.9 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.5583, allocations: 167.4 kB / 0.8215 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.5585, allocations: 91.53 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.5585, allocations: 5 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.5585, allocations: 32.72 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.096e-06/0.5585, allocations: 0 / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006256/0.5592, allocations: 280.1 kB / 0.8219 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.5592, allocations: 56.2 kB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5593, allocations: 154.6 kB / 0.8221 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5593, allocations: 29.7 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.5594, allocations: 102.9 kB / 0.8222 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.5594, allocations: 25.38 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.5595, allocations: 32.02 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.5596, allocations: 322.2 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.5598, allocations: 85.83 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.5599, allocations: 71.84 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.5602, allocations: 158.1 kB / 0.8229 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5602, allocations: 0 / 0.8229 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003838/0.5606, allocations: 205.7 kB / 0.8231 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5606, allocations: 5.5 kB / 0.8231 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5606, allocations: 0 / 0.8231 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.5607, allocations: 5.469 kB / 0.8231 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.5608, allocations: 44.11 kB / 0.8231 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.5608, allocations: 1.469 kB / 0.8231 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.5609, allocations: 26.19 kB / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.5609, allocations: 4.516 kB / 0.8232 GB, free: 13.55 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.0001031/0.561, allocations: 123.5 kB / 0.8233 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.561, allocations: 11.67 kB / 0.8233 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.5611, allocations: 21.64 kB / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5611, allocations: 1.312 kB / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.5611, allocations: 1.312 kB / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5611, allocations: 0 / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.5613, allocations: 190.9 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5613, allocations: 5.312 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.5614, allocations: 35.53 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5614, allocations: 0.7031 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5614, allocations: 10.23 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5614, allocations: 1.094 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5614, allocations: 5.062 kB / 0.8236 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.5618, allocations: 299.5 kB / 0.8238 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.5619, allocations: 11.06 kB / 0.8238 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.5619, allocations: 5.984 kB / 0.8239 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.562, allocations: 22.72 kB / 0.8239 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.5621, allocations: 30.75 kB / 0.8239 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.5621, allocations: 5.203 kB / 0.8239 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.647e-05/0.5621, allocations: 114.9 kB / 0.824 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5621, allocations: 0 / 0.824 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001745/0.5623, allocations: 28.45 kB / 0.824 GB, free: 12.91 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.0006614/0.563, allocations: 0.8475 MB / 0.8249 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.5634, allocations: 162.9 kB / 0.825 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5634, allocations: 5.375 kB / 0.825 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.5636, allocations: 103.2 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.5638, allocations: 12.19 kB / 0.8251 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.5659, allocations: 1.847 MB / 0.8269 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.566, allocations: 96.91 kB / 0.827 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.649e-05/0.5661, allocations: 22.94 kB / 0.8271 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5662, allocations: 48.62 kB / 0.8271 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5662, allocations: 0 / 0.8271 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.5905, allocations: 4.553 MB / 0.8316 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.525/7.116, allocations: 9.062 kB / 0.8316 GB, free: 9.582 MB / 0.6198 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: 10.03471518913284] Failed to read output from testmodel.py, exit status != 0: 7.193837189115584 7.204986061 6.647479504 Calling exit ...