Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001301/0.001301, allocations: 72.45 kB / 19.02 MB, free: 1.109 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.001409/0.001409, allocations: 163.2 kB / 22.29 MB, free: 3.52 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.426/1.426, allocations: 177.2 MB / 202.7 MB, free: 4.805 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.273/1.273, allocations: 154.7 MB / 413.8 MB, free: 3.129 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.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_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.002033/0.002033, allocations: 64.66 kB / 0.6181 GB, free: 1.055 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.2097/0.2118, allocations: 102 MB / 0.7177 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002198/0.2139, allocations: 0.8381 MB / 0.7185 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2153, allocations: 0.9016 MB / 0.7194 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.2154, allocations: 0 / 0.7194 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.2155, allocations: 15.8 kB / 0.7194 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.2156, allocations: 35.72 kB / 0.7195 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.2158, allocations: 39.95 kB / 0.7195 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.216, allocations: 131.6 kB / 0.7196 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.2162, allocations: 53.5 kB / 0.7197 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.2164, allocations: 79.81 kB / 0.7197 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.2165, allocations: 83.66 kB / 0.7198 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.2166, allocations: 12 kB / 0.7198 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.601e-05/0.2166, allocations: 12 kB / 0.7198 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.2167, allocations: 43.84 kB / 0.7199 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.2167, allocations: 51.72 kB / 0.7199 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.217, allocations: 179.2 kB / 0.7201 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.217, allocations: 4 kB / 0.7201 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.002e-06/0.217, allocations: 0 / 0.7201 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.217, allocations: 0 / 0.7201 GB, free: 8.699 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001286/0.2183, allocations: 437.4 kB / 0.7205 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2183, allocations: 12.03 kB / 0.7205 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.2184, allocations: 42.73 kB / 0.7206 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.2184, allocations: 20.8 kB / 0.7206 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.2187, allocations: 166 kB / 0.7208 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2187, allocations: 12.38 kB / 0.7208 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2187, allocations: 4.375 kB / 0.7208 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.2193, allocations: 178.1 kB / 0.7209 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2193, allocations: 3.938 kB / 0.721 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2193, allocations: 8 kB / 0.721 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2193, allocations: 0 / 0.721 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.2202, allocations: 223.8 kB / 0.7212 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.2213, allocations: 471.4 kB / 0.7216 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.2218, allocations: 146.4 kB / 0.7218 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.2222, allocations: 116.7 kB / 0.7219 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2222, allocations: 0 / 0.7219 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2222, allocations: 38.56 kB / 0.7219 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.2222, allocations: 4 kB / 0.7219 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001319/0.2236, allocations: 357.6 kB / 0.7223 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.2236, allocations: 63.34 kB / 0.7223 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.2238, allocations: 172.2 kB / 0.7225 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2238, allocations: 25.7 kB / 0.7225 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.2239, allocations: 124 kB / 0.7226 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.224, allocations: 27.75 kB / 0.7226 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.224, allocations: 29.7 kB / 0.7227 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2242, allocations: 322.8 kB / 0.723 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.2246, allocations: 103.9 kB / 0.7231 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.225, allocations: 107.8 kB / 0.7232 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.2257, allocations: 212.6 kB / 0.7234 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2257, allocations: 0 / 0.7234 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008542/0.2266, allocations: 261.9 kB / 0.7236 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2266, allocations: 8.094 kB / 0.7236 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2266, allocations: 3.938 kB / 0.7237 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2266, allocations: 4 kB / 0.7237 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.2269, allocations: 43.94 kB / 0.7237 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2269, allocations: 3.938 kB / 0.7237 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2271, allocations: 35.89 kB / 0.7237 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2271, allocations: 0 / 0.7237 GB, free: 4.793 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: 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 0.00015/0.2273, allocations: 133.8 kB / 0.7239 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.2273, allocations: 15.91 kB / 0.7239 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.899e-05/0.2274, allocations: 21.47 kB / 0.7239 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.2274, allocations: 7.984 kB / 0.7239 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2274, allocations: 3.938 kB / 0.7239 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.2274, allocations: 3.984 kB / 0.7239 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.2277, allocations: 204.6 kB / 0.7241 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2277, allocations: 0 / 0.7241 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.228, allocations: 47.94 kB / 0.7242 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.228, allocations: 0 / 0.7242 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.228, allocations: 4 kB / 0.7242 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.228, allocations: 4 kB / 0.7242 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.228, allocations: 3.938 kB / 0.7242 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/0.2289, allocations: 355.2 kB / 0.7245 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.2289, allocations: 15.94 kB / 0.7245 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.2289, allocations: 4 kB / 0.7245 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2292, allocations: 27.95 kB / 0.7245 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.2292, allocations: 15.92 kB / 0.7246 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.2293, allocations: 4 kB / 0.7246 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001252/0.2294, allocations: 136.3 kB / 0.7247 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2294, allocations: 0 / 0.7247 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002534/0.2296, allocations: 39.89 kB / 0.7247 GB, free: 3.688 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: 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.001327/0.231, allocations: 0.8918 MB / 0.7256 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008574/0.2318, allocations: 215.8 kB / 0.7258 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2318, allocations: 4 kB / 0.7258 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.2322, allocations: 107.8 kB / 0.7259 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.2326, allocations: 35.66 kB / 0.726 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.2368, allocations: 2.142 MB / 0.728 GB, free: 204 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2369, allocations: 110.2 kB / 0.7282 GB, free: 72 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.237, allocations: 28.47 kB / 0.7282 GB, free: 44 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.2371, allocations: 40.48 kB / 0.7282 GB, free: 4 kB / 0.6198 GB Notification: Performance of SimCode: time 1.212e-06/0.2371, allocations: 3.938 kB / 0.7282 GB, free: 0 / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.2739, allocations: 4.464 MB / 0.7326 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.73, allocations: 14.64 kB / 0.7326 GB, free: 11.66 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.83044736800366] Failed to read output from testmodel.py, exit status != 0: 11.840960201996495 11.872621536 11.649992474 Calling exit ...