Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.001346/0.001346, allocations: 76.45 kB / 19.03 MB, free: 1.102 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.001475/0.001475, allocations: 164.2 kB / 22.29 MB, free: 3.512 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.433/1.433, 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.262/1.262, allocations: 154.7 MB / 413.8 MB, free: 3.156 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.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",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.002031/0.002031, allocations: 68.83 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.2123/0.2144, allocations: 102 MB / 0.7177 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002109/0.2165, allocations: 0.6869 MB / 0.7184 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2177, allocations: 0.828 MB / 0.7192 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.2178, allocations: 0 / 0.7192 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.2178, allocations: 4 kB / 0.7192 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.2179, allocations: 7.875 kB / 0.7192 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.789e-05/0.2179, allocations: 15.97 kB / 0.7192 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.876e-05/0.218, allocations: 47.84 kB / 0.7193 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2181, allocations: 7.984 kB / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.396e-05/0.2182, allocations: 23.92 kB / 0.7193 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.2183, allocations: 19.92 kB / 0.7193 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2183, allocations: 4 kB / 0.7193 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.2183, allocations: 8 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.2183, allocations: 7.984 kB / 0.7193 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.2183, allocations: 11.94 kB / 0.7193 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.2185, allocations: 55.95 kB / 0.7194 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2185, allocations: 0 / 0.7194 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2185, allocations: 0 / 0.7194 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2185, allocations: 0 / 0.7194 GB, free: 9.461 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000572/0.219, allocations: 286.2 kB / 0.7197 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2191, allocations: 12.03 kB / 0.7197 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.2191, allocations: 34.75 kB / 0.7197 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.2191, allocations: 8.891 kB / 0.7197 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2193, allocations: 110.5 kB / 0.7198 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2193, allocations: 4.375 kB / 0.7198 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.2193, allocations: 384 / 0.7198 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.2196, allocations: 70.2 kB / 0.7199 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2196, allocations: 3.938 kB / 0.7199 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.2196, allocations: 4 kB / 0.7199 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2196, allocations: 0 / 0.7199 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.2199, allocations: 71.86 kB / 0.72 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.2203, allocations: 228 kB / 0.7202 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.2206, allocations: 62.47 kB / 0.7202 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2207, allocations: 40.91 kB / 0.7203 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2207, allocations: 0 / 0.7203 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2208, allocations: 38.5 kB / 0.7203 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.2208, allocations: 0 / 0.7203 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005503/0.2213, allocations: 125.6 kB / 0.7204 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2214, allocations: 51.41 kB / 0.7205 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2215, allocations: 117.8 kB / 0.7206 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2215, allocations: 25.7 kB / 0.7206 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.2215, allocations: 80.14 kB / 0.7207 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2216, allocations: 15.91 kB / 0.7207 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.2216, allocations: 13.7 kB / 0.7207 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2218, allocations: 318.8 kB / 0.721 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2219, allocations: 27.97 kB / 0.7211 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.2221, allocations: 39.95 kB / 0.7211 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.2223, allocations: 76.66 kB / 0.7212 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2223, allocations: 0 / 0.7212 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003464/0.2227, allocations: 97.56 kB / 0.7213 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2227, allocations: 8 kB / 0.7213 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2227, allocations: 0 / 0.7213 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.2227, allocations: 4 kB / 0.7213 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2229, allocations: 11.98 kB / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2229, allocations: 0 / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.223, allocations: 19.91 kB / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.223, allocations: 0 / 0.7213 GB, free: 7.297 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 (3): * Single equations (assignments): 3 * 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.0001018/0.2231, allocations: 117.8 kB / 0.7214 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.2231, allocations: 7.891 kB / 0.7214 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.2231, allocations: 12 kB / 0.7214 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2231, allocations: 0 / 0.7214 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2231, allocations: 0 / 0.7214 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2231, allocations: 0 / 0.7214 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.2233, allocations: 136.7 kB / 0.7216 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2233, allocations: 0 / 0.7216 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.2234, allocations: 19.97 kB / 0.7216 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2234, allocations: 0 / 0.7216 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2234, allocations: 0 / 0.7216 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2234, allocations: 0 / 0.7216 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2234, allocations: 4 kB / 0.7216 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.2239, allocations: 199.4 kB / 0.7218 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.2239, allocations: 0 / 0.7218 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2239, allocations: 3.984 kB / 0.7218 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.224, allocations: 11.98 kB / 0.7218 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.2241, allocations: 4.312 kB / 0.7218 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.2241, allocations: 11.94 kB / 0.7218 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.2241, allocations: 91.25 kB / 0.7219 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2241, allocations: 0 / 0.7219 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002234/0.2244, allocations: 12 kB / 0.7219 GB, free: 6.605 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 (3): * Single equations (assignments): 3 * 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.0008157/0.2252, allocations: 0.728 MB / 0.7226 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.2256, allocations: 71.86 kB / 0.7227 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2256, allocations: 0 / 0.7227 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.2257, allocations: 31.97 kB / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.2261, allocations: 12.83 kB / 0.7227 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.2266, allocations: 170.8 kB / 0.7229 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.183e-05/0.2267, allocations: 67.34 kB / 0.723 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.2267, allocations: 0 / 0.723 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.2268, allocations: 16.5 kB / 0.723 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2268, allocations: 0 / 0.723 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.2632, allocations: 2.29 MB / 0.7252 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.32, allocations: 12 kB / 0.7252 GB, free: 3.246 MB / 0.6198 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.38082807599858] Failed to read output from testmodel.py, exit status != 0: 11.442482532002032 11.458843512 11.237214316 Calling exit ...