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.0008649/0.0008649, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008635/0.0008635, allocations: 162 kB / 22.43 MB, free: 2.145 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.8772/0.8772, allocations: 177.2 MB / 202.8 MB, free: 5.762 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.7165/0.7165, allocations: 155 MB / 414.2 MB, free: 492 kB / 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: 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.0008684/0.0008684, allocations: 67.91 kB / 0.6187 GB, free: 13.2 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4446, allocations: 102 MB / 0.7183 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001655/0.4462, allocations: 0.811 MB / 0.7191 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.4473, allocations: 0.9151 MB / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.4474, allocations: 1.219 kB / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.4475, allocations: 15.45 kB / 0.72 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.4476, allocations: 15.94 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.4478, allocations: 67.19 kB / 0.72 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.448, allocations: 127 kB / 0.7202 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.4482, allocations: 28.92 kB / 0.7202 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.4483, allocations: 85.06 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.4484, allocations: 70.52 kB / 0.7203 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.4484, allocations: 15.62 kB / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.07e-05/0.4485, allocations: 13.09 kB / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.4485, allocations: 37.27 kB / 0.7204 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.4486, allocations: 48.05 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.4488, allocations: 167.2 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4488, allocations: 1.219 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4488, allocations: 0 / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4488, allocations: 0.5156 kB / 0.7206 GB, free: 21.45 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.0007165/0.4495, allocations: 375.5 kB / 0.721 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.4496, allocations: 11.84 kB / 0.721 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.4496, allocations: 40.11 kB / 0.721 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.4497, allocations: 14.56 kB / 0.721 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.4499, allocations: 153.1 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4499, allocations: 5.062 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.4499, allocations: 8.156 kB / 0.7212 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.4502, allocations: 148.5 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4502, allocations: 1.156 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4502, allocations: 8 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4502, allocations: 2.625 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.4506, allocations: 152.4 kB / 0.7215 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.451, allocations: 361.6 kB / 0.7218 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.4516, allocations: 180.9 kB / 0.722 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.4517, allocations: 85.86 kB / 0.7221 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4518, allocations: 0.875 kB / 0.7221 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4518, allocations: 36.62 kB / 0.7221 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.4518, allocations: 0 / 0.7221 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005952/0.4524, allocations: 284.1 kB / 0.7224 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.4524, allocations: 52.75 kB / 0.7224 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.4525, allocations: 150.8 kB / 0.7226 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.4525, allocations: 29.7 kB / 0.7226 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.4526, allocations: 112.9 kB / 0.7227 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.4526, allocations: 30.22 kB / 0.7228 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.4526, allocations: 34.92 kB / 0.7228 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.4527, allocations: 321.7 kB / 0.7231 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.4528, allocations: 70.86 kB / 0.7232 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.453, allocations: 80.41 kB / 0.7232 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.4533, allocations: 157 kB / 0.7234 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4533, allocations: 1.906 kB / 0.7234 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003717/0.4537, allocations: 211.7 kB / 0.7236 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4537, allocations: 5.062 kB / 0.7236 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4537, allocations: 1.188 kB / 0.7236 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4537, allocations: 0 / 0.7236 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4539, allocations: 36.83 kB / 0.7236 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.4539, allocations: 1.125 kB / 0.7236 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.454, allocations: 26.44 kB / 0.7237 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.454, allocations: 4.5 kB / 0.7237 GB, free: 19.44 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 7.035e-05/0.454, allocations: 125.4 kB / 0.7238 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.4541, allocations: 12.05 kB / 0.7238 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.4541, allocations: 24.92 kB / 0.7238 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4541, allocations: 2.641 kB / 0.7238 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4541, allocations: 0 / 0.7238 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4541, allocations: 0.6562 kB / 0.7238 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.4543, allocations: 192 kB / 0.724 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4543, allocations: 4 kB / 0.724 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.4544, allocations: 39.48 kB / 0.724 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4544, allocations: 1.875 kB / 0.724 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4544, allocations: 2.547 kB / 0.724 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.4544, allocations: 0 / 0.724 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4544, allocations: 6.016 kB / 0.7241 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.4548, allocations: 305.8 kB / 0.7243 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.4548, allocations: 12.02 kB / 0.7244 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4548, allocations: 5.812 kB / 0.7244 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.4549, allocations: 26.2 kB / 0.7244 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.455, allocations: 32.5 kB / 0.7244 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.455, allocations: 4.422 kB / 0.7244 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.4551, allocations: 111.2 kB / 0.7245 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4551, allocations: 1.188 kB / 0.7245 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001724/0.4552, allocations: 30.64 kB / 0.7246 GB, free: 18.79 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 0.0005069/0.4557, allocations: 0.8392 MB / 0.7254 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.4561, allocations: 169.3 kB / 0.7255 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4561, allocations: 0 / 0.7255 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.4563, allocations: 94.94 kB / 0.7256 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.4565, allocations: 15.98 kB / 0.7256 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4582, allocations: 1.855 MB / 0.7275 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.347e-05/0.4583, allocations: 88.53 kB / 0.7275 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.057e-05/0.4584, allocations: 25.47 kB / 0.7276 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.4584, allocations: 50.17 kB / 0.7276 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4585, allocations: 0 / 0.7276 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.4766, allocations: 4.676 MB / 0.7322 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.584/7.06, allocations: 4.812 kB / 0.7322 GB, free: 15.46 MB / 0.6355 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.735290363896638] Failed to read output from testmodel.py, exit status != 0: 7.137310332851484 7.147543881 6.696961178 Calling exit ...