Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.001217/0.001217, allocations: 76.45 kB / 19.02 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.001335/0.001335, allocations: 159.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.418/1.418, allocations: 177.2 MB / 202.7 MB, free: 4.82 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.245/1.245, 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.Log,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",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.002469/0.002469, allocations: 74.17 kB / 0.6181 GB, free: 1.051 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.2233/0.2258, allocations: 102 MB / 0.7177 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.002086/0.2279, allocations: 0.6521 MB / 0.7183 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.229, allocations: 0.8397 MB / 0.7192 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.2291, allocations: 0 / 0.7192 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.2291, allocations: 0 / 0.7192 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.2292, allocations: 11.94 kB / 0.7192 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.2294, allocations: 16 kB / 0.7192 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.2295, allocations: 19.92 kB / 0.7192 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2296, allocations: 7.984 kB / 0.7192 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.2297, allocations: 11.98 kB / 0.7192 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.2298, allocations: 15.92 kB / 0.7192 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.2298, allocations: 4 kB / 0.7193 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.032e-05/0.2298, allocations: 4 kB / 0.7193 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.2298, allocations: 0 / 0.7193 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2299, allocations: 11.92 kB / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.23, allocations: 28.12 kB / 0.7193 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.23, allocations: 7.938 kB / 0.7193 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.23, allocations: 0 / 0.7193 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.23, allocations: 0 / 0.7193 GB, free: 9.555 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000559/0.2306, allocations: 262.3 kB / 0.7196 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.2306, allocations: 8.031 kB / 0.7196 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.2307, allocations: 30.75 kB / 0.7196 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.718e-05/0.2308, allocations: 8.938 kB / 0.7196 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.231, allocations: 114.4 kB / 0.7197 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.231, allocations: 8.359 kB / 0.7197 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.231, allocations: 384 / 0.7197 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.2312, allocations: 50.25 kB / 0.7198 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2312, allocations: 3.938 kB / 0.7198 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2312, allocations: 4 kB / 0.7198 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2312, allocations: 3.984 kB / 0.7198 GB, free: 9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2314, allocations: 35.95 kB / 0.7198 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.2318, allocations: 216 kB / 0.72 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.232, allocations: 42.44 kB / 0.7201 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.2321, allocations: 20.91 kB / 0.7201 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2321, allocations: 4 kB / 0.7201 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.2321, allocations: 34.56 kB / 0.7201 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.2321, allocations: 0 / 0.7201 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004216/0.2326, allocations: 81.58 kB / 0.7202 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.2326, allocations: 51.41 kB / 0.7202 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2327, allocations: 106 kB / 0.7203 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2328, allocations: 25.7 kB / 0.7204 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.2328, allocations: 84.14 kB / 0.7204 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.2329, allocations: 7.953 kB / 0.7205 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.2329, allocations: 13.72 kB / 0.7205 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2331, allocations: 314.8 kB / 0.7208 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.2332, allocations: 19.92 kB / 0.7208 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/0.2333, allocations: 15.98 kB / 0.7208 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.2334, allocations: 40.88 kB / 0.7208 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2334, allocations: 3.938 kB / 0.7208 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.2336, allocations: 73.56 kB / 0.7209 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.2337, allocations: 4 kB / 0.7209 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2337, allocations: 0 / 0.7209 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2337, allocations: 4 kB / 0.7209 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.2338, allocations: 7.984 kB / 0.7209 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2338, allocations: 4.031 kB / 0.7209 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.2338, allocations: 7.984 kB / 0.7209 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.2338, allocations: 0 / 0.7209 GB, free: 7.68 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 (2): * Single equations (assignments): 2 * 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 9.366e-05/0.2339, allocations: 113.8 kB / 0.721 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.234, allocations: 3.938 kB / 0.721 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.2342, allocations: 72.97 kB / 0.7211 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2342, allocations: 0 / 0.7211 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2342, allocations: 7.969 kB / 0.7211 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2342, allocations: 0 / 0.7211 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.2344, allocations: 128.7 kB / 0.7212 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2344, allocations: 0 / 0.7212 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.2345, allocations: 11.98 kB / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2345, allocations: 0 / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2345, allocations: 0 / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2345, allocations: 0 / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2345, allocations: 0 / 0.7213 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.2348, allocations: 167.5 kB / 0.7214 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.2348, allocations: 7.953 kB / 0.7214 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.2348, allocations: 0 / 0.7214 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/0.2349, allocations: 11.98 kB / 0.7214 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.2349, allocations: 0 / 0.7214 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2349, allocations: 0 / 0.7214 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.235, allocations: 87.27 kB / 0.7215 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.235, allocations: 0 / 0.7215 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002081/0.2352, allocations: 7.938 kB / 0.7215 GB, free: 7 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 (2): * Single equations (assignments): 2 * 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.0006233/0.2358, allocations: 0.6929 MB / 0.7222 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.236, allocations: 35.95 kB / 0.7222 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.236, allocations: 3.938 kB / 0.7222 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.2361, allocations: 19.92 kB / 0.7223 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2364, allocations: 8.156 kB / 0.7223 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.237, allocations: 139.1 kB / 0.7224 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.444e-05/0.2371, allocations: 59.34 kB / 0.7225 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.2371, allocations: 0 / 0.7225 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.2371, allocations: 12.5 kB / 0.7225 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2371, allocations: 0 / 0.7225 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.2686, allocations: 1.935 MB / 0.7244 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.46, allocations: 6.797 kB / 0.7244 GB, free: 4.105 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.487178807001328] Failed to read output from testmodel.py, exit status != 0: 11.561152178008342 11.58542162 11.350933505 Calling exit ...