Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.00138/0.00138, 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.001635/0.001635, allocations: 168.3 kB / 22.29 MB, free: 3.516 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.382/1.382, allocations: 177.2 MB / 202.7 MB, free: 4.809 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.231/1.231, allocations: 154.7 MB / 413.8 MB, free: 3.16 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.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",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.00276/0.00276, allocations: 62.5 kB / 0.6181 GB, free: 1.062 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.2153/0.2181, allocations: 102 MB / 0.7177 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.002115/0.2202, allocations: 0.6772 MB / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2213, allocations: 0.8358 MB / 0.7192 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.2213, allocations: 4 kB / 0.7192 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.2214, allocations: 3.938 kB / 0.7192 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.2214, allocations: 7.938 kB / 0.7192 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.2215, allocations: 11.98 kB / 0.7192 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2216, allocations: 47.84 kB / 0.7193 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2217, allocations: 11.98 kB / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.2218, allocations: 27.92 kB / 0.7193 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.2219, allocations: 19.91 kB / 0.7193 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2219, allocations: 4 kB / 0.7193 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.2219, allocations: 4 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.2219, allocations: 8 kB / 0.7193 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.222, allocations: 15.88 kB / 0.7193 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2221, allocations: 48.06 kB / 0.7194 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2221, allocations: 0 / 0.7194 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2221, allocations: 0 / 0.7194 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.2221, allocations: 0 / 0.7194 GB, free: 9.465 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.000549/0.2226, allocations: 290.2 kB / 0.7197 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2227, allocations: 8.031 kB / 0.7197 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.2227, allocations: 30.75 kB / 0.7197 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.2227, allocations: 12.89 kB / 0.7197 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2229, allocations: 122.4 kB / 0.7198 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2229, allocations: 384 / 0.7198 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2229, allocations: 384 / 0.7198 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.2231, allocations: 70.22 kB / 0.7199 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2232, allocations: 3.938 kB / 0.7199 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.2232, allocations: 0 / 0.7199 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2232, allocations: 3.938 kB / 0.7199 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.2235, allocations: 67.92 kB / 0.72 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.2239, allocations: 239.9 kB / 0.7202 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.2241, allocations: 50.53 kB / 0.7203 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.2243, allocations: 32.92 kB / 0.7203 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.2243, allocations: 8 kB / 0.7203 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2244, allocations: 38.55 kB / 0.7203 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2244, allocations: 0 / 0.7203 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005847/0.2249, allocations: 125.5 kB / 0.7204 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.225, allocations: 51.41 kB / 0.7205 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2251, allocations: 113.8 kB / 0.7206 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2251, allocations: 29.7 kB / 0.7206 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.2252, allocations: 92.12 kB / 0.7207 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.2252, allocations: 7.906 kB / 0.7207 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.2253, allocations: 17.72 kB / 0.7207 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2254, allocations: 310.8 kB / 0.721 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2256, allocations: 31.95 kB / 0.7211 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.2257, allocations: 31.97 kB / 0.7211 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.2261, allocations: 76.72 kB / 0.7212 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2261, allocations: 0 / 0.7212 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000345/0.2264, allocations: 97.56 kB / 0.7213 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2264, allocations: 4 kB / 0.7213 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2264, allocations: 4 kB / 0.7213 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2264, allocations: 3.984 kB / 0.7213 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2266, allocations: 15.98 kB / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2266, allocations: 0 / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.761e-05/0.2267, allocations: 19.92 kB / 0.7213 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.2267, 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 9.446e-05/0.2268, allocations: 109.8 kB / 0.7214 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2268, allocations: 8.281 kB / 0.7214 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.2272, allocations: 117.5 kB / 0.7215 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2272, allocations: 0 / 0.7215 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2272, allocations: 3.984 kB / 0.7215 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2272, allocations: 0 / 0.7215 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.2274, allocations: 140.7 kB / 0.7217 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2274, allocations: 0 / 0.7217 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.2275, allocations: 15.98 kB / 0.7217 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2275, allocations: 0 / 0.7217 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2275, allocations: 4 kB / 0.7217 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2275, allocations: 4 kB / 0.7217 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2275, allocations: 0 / 0.7217 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.2279, allocations: 199.4 kB / 0.7219 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.2279, allocations: 7.938 kB / 0.7219 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.2279, allocations: 0 / 0.7219 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2281, allocations: 19.92 kB / 0.7219 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.2281, allocations: 7.984 kB / 0.7219 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2281, allocations: 3.938 kB / 0.7219 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.2282, allocations: 87.27 kB / 0.722 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2282, allocations: 4 kB / 0.722 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002137/0.2284, allocations: 4 kB / 0.722 GB, free: 6.496 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.0007604/0.2291, allocations: 0.7241 MB / 0.7227 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003637/0.2295, allocations: 75.84 kB / 0.7228 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2295, allocations: 0 / 0.7228 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.2297, allocations: 31.97 kB / 0.7228 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.23, allocations: 12.55 kB / 0.7228 GB, free: 5.629 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.2305, allocations: 162.9 kB / 0.723 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.945e-05/0.2306, allocations: 63.34 kB / 0.7231 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.2306, allocations: 0 / 0.7231 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.2307, allocations: 20.48 kB / 0.7231 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.2307, allocations: 0 / 0.7231 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.2629, allocations: 2.29 MB / 0.7253 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.45, allocations: 6.469 kB / 0.7253 GB, free: 3.141 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.469848210006603] Failed to read output from testmodel.py, exit status != 0: 11.555594871009816 11.581342566 11.354579146 Calling exit ...