Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007786/0.0007786, allocations: 76.45 kB / 19.14 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.0008511/0.0008511, allocations: 165.9 kB / 22.43 MB, free: 2.141 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.8825/0.8825, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.6749/0.6749, allocations: 155 MB / 414.2 MB, free: 0.5 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.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.0009122/0.0009122, allocations: 64.97 kB / 0.6187 GB, free: 13.19 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.4079/0.4088, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001413/0.4102, allocations: 0.8347 MB / 0.7191 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.411, allocations: 0.9022 MB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.411, allocations: 2.281 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.4111, allocations: 16.31 kB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.4112, allocations: 28.03 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.4113, allocations: 46.41 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.4115, allocations: 139 kB / 0.7202 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.4116, allocations: 38.45 kB / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.442e-05/0.4117, allocations: 85.86 kB / 0.7204 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4118, allocations: 78.44 kB / 0.7204 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.4118, allocations: 12.16 kB / 0.7204 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.4119, allocations: 12.88 kB / 0.7205 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.4119, allocations: 44.19 kB / 0.7205 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.412, allocations: 56.27 kB / 0.7205 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.4121, allocations: 194.2 kB / 0.7207 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4122, allocations: 4 kB / 0.7207 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4122, allocations: 0.5156 kB / 0.7207 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4122, allocations: 1.125 kB / 0.7207 GB, free: 21.57 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005957/0.4128, allocations: 445.4 kB / 0.7212 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4128, allocations: 11.44 kB / 0.7212 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.605e-05/0.4128, allocations: 39.56 kB / 0.7212 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.4129, allocations: 20.84 kB / 0.7212 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.413, allocations: 157.6 kB / 0.7214 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.413, allocations: 3.875 kB / 0.7214 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.413, allocations: 14.09 kB / 0.7214 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.4133, allocations: 188 kB / 0.7216 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4133, allocations: 3.938 kB / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4133, allocations: 1.125 kB / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4133, allocations: 2.125 kB / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.4137, allocations: 220.9 kB / 0.7218 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.4143, allocations: 467.5 kB / 0.7222 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.4146, allocations: 143.3 kB / 0.7224 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.4148, allocations: 113.5 kB / 0.7225 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.4148, allocations: 5 kB / 0.7225 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.4148, allocations: 32.39 kB / 0.7225 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.4148, allocations: 5.031 kB / 0.7225 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0006705/0.4155, allocations: 362.6 kB / 0.7229 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.4155, allocations: 56.94 kB / 0.7229 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4156, allocations: 180.2 kB / 0.7231 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.4156, allocations: 26.89 kB / 0.7231 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.4157, allocations: 129.4 kB / 0.7232 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.4157, allocations: 29.75 kB / 0.7233 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.4157, allocations: 21.33 kB / 0.7233 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.4158, allocations: 328 kB / 0.7236 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.416, allocations: 102 kB / 0.7237 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.4162, allocations: 105.1 kB / 0.7238 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.4166, allocations: 218.6 kB / 0.724 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4166, allocations: 0 / 0.724 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004199/0.417, allocations: 257.7 kB / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.417, allocations: 5.984 kB / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.417, allocations: 1.406 kB / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.417, allocations: 0 / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4172, allocations: 46.25 kB / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4172, allocations: 5.125 kB / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.4173, allocations: 38.77 kB / 0.7244 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4173, allocations: 2.781 kB / 0.7244 GB, free: 19.49 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.079e-05/0.4173, allocations: 129.8 kB / 0.7245 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.4174, allocations: 18.91 kB / 0.7245 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.4174, allocations: 27.41 kB / 0.7245 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4174, allocations: 1.375 kB / 0.7245 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4174, allocations: 5.219 kB / 0.7245 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4174, allocations: 0.7969 kB / 0.7245 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.4176, allocations: 206.8 kB / 0.7247 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4176, allocations: 5.031 kB / 0.7247 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.4177, allocations: 50.06 kB / 0.7248 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4177, allocations: 1.188 kB / 0.7248 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.4177, allocations: 4 kB / 0.7248 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4177, allocations: 2.172 kB / 0.7248 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4177, allocations: 3.938 kB / 0.7248 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.4182, allocations: 359.2 kB / 0.7251 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.4182, allocations: 8.734 kB / 0.7251 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.4182, allocations: 2.094 kB / 0.7251 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4183, allocations: 35.22 kB / 0.7252 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.4184, allocations: 20.06 kB / 0.7252 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.4184, allocations: 1.75 kB / 0.7252 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.4184, allocations: 140.4 kB / 0.7253 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4184, allocations: 0 / 0.7253 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001607/0.4186, allocations: 26.62 kB / 0.7254 GB, free: 18.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0005587/0.4191, allocations: 0.8827 MB / 0.7262 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004636/0.4196, allocations: 229.5 kB / 0.7264 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4196, allocations: 0 / 0.7264 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.4198, allocations: 113.7 kB / 0.7265 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.42, allocations: 34.19 kB / 0.7266 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.422, allocations: 2.143 MB / 0.7287 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.4221, allocations: 115.7 kB / 0.7288 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.878e-05/0.4221, allocations: 21.72 kB / 0.7288 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.4222, allocations: 41.38 kB / 0.7288 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4222, allocations: 3.938 kB / 0.7288 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.439, allocations: 4.483 MB / 0.7332 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.06, allocations: 8.75 kB / 0.7332 GB, free: 15.36 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.603153069037944] Failed to read output from testmodel.py, exit status != 0: 7.139912812039256 7.148224941 6.734274777 Calling exit ...