Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.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.001395/0.001395, 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.001398/0.001398, allocations: 160 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.41/1.41, allocations: 177.2 MB / 202.7 MB, free: 4.828 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.193/1.193, allocations: 154.7 MB / 413.8 MB, free: 3.137 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.Sqrt,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt",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.002035/0.002035, allocations: 64.06 kB / 0.6181 GB, free: 0.9414 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.2156/0.2177, allocations: 102 MB / 0.7177 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00248/0.2201, allocations: 0.6472 MB / 0.7183 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2213, allocations: 0.828 MB / 0.7191 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.2213, allocations: 0 / 0.7191 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.2214, allocations: 7.938 kB / 0.7191 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.2214, allocations: 4 kB / 0.7192 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.2216, allocations: 11.97 kB / 0.7192 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.401e-05/0.2217, allocations: 31.8 kB / 0.7192 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2218, allocations: 8 kB / 0.7192 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.2219, allocations: 15.98 kB / 0.7192 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.2219, allocations: 3.938 kB / 0.7192 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2219, allocations: 4 kB / 0.7192 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.2219, allocations: 0 / 0.7192 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.2219, allocations: 7.984 kB / 0.7192 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.222, allocations: 11.94 kB / 0.7192 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.971e-05/0.2221, allocations: 32.11 kB / 0.7193 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2221, allocations: 0 / 0.7193 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2221, allocations: 0 / 0.7193 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2221, allocations: 0 / 0.7193 GB, free: 9.438 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.0004941/0.2226, allocations: 262.3 kB / 0.7195 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2226, allocations: 8.031 kB / 0.7195 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2226, allocations: 34.69 kB / 0.7196 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.2227, allocations: 8.891 kB / 0.7196 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2228, allocations: 106.5 kB / 0.7197 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2228, allocations: 8.375 kB / 0.7197 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.2228, allocations: 384 / 0.7197 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.223, allocations: 50.23 kB / 0.7197 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.223, allocations: 3.938 kB / 0.7197 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.223, allocations: 0 / 0.7197 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.223, allocations: 0 / 0.7197 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.2232, allocations: 35.91 kB / 0.7198 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.2235, allocations: 212.1 kB / 0.72 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.2237, allocations: 42.5 kB / 0.72 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.2238, allocations: 20.91 kB / 0.72 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2238, allocations: 0 / 0.72 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2238, allocations: 38.55 kB / 0.7201 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2238, allocations: 0 / 0.7201 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004242/0.2243, allocations: 81.59 kB / 0.7201 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.2243, allocations: 59.52 kB / 0.7202 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.2244, allocations: 94 kB / 0.7203 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2244, allocations: 25.7 kB / 0.7203 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.2245, allocations: 88.14 kB / 0.7204 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.2245, allocations: 7.891 kB / 0.7204 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.2246, allocations: 13.7 kB / 0.7204 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2248, allocations: 318.8 kB / 0.7207 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.2248, allocations: 11.98 kB / 0.7207 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.2249, allocations: 15.98 kB / 0.7208 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.2251, allocations: 48.81 kB / 0.7208 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2251, allocations: 3.938 kB / 0.7208 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.2253, allocations: 69.56 kB / 0.7209 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2253, allocations: 8.609 kB / 0.7209 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2253, allocations: 48 / 0.7209 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2253, allocations: 3.984 kB / 0.7209 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.2254, allocations: 12.03 kB / 0.7209 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2254, allocations: 0 / 0.7209 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.2255, allocations: 7.984 kB / 0.7209 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2255, allocations: 0 / 0.7209 GB, free: 7.574 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.699e-05/0.2256, allocations: 121.7 kB / 0.721 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.2256, allocations: 0 / 0.721 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.2256, allocations: 3.312 kB / 0.721 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2256, allocations: 3.984 kB / 0.721 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2256, allocations: 4 kB / 0.721 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2257, allocations: 4 kB / 0.721 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2258, allocations: 128.7 kB / 0.7212 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2258, allocations: 0 / 0.7212 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.2259, allocations: 11.92 kB / 0.7212 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2259, allocations: 4 kB / 0.7212 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.2259, allocations: 0 / 0.7212 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2259, allocations: 0 / 0.7212 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2259, allocations: 0 / 0.7212 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.2262, allocations: 167.5 kB / 0.7213 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.2262, allocations: 3.953 kB / 0.7213 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.2262, allocations: 7.984 kB / 0.7213 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.2263, allocations: 4 kB / 0.7213 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.2263, allocations: 3.984 kB / 0.7213 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2263, allocations: 0 / 0.7213 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.2264, allocations: 83.28 kB / 0.7214 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2264, allocations: 0 / 0.7214 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002123/0.2266, allocations: 4 kB / 0.7214 GB, free: 6.965 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.0006336/0.2272, allocations: 0.6929 MB / 0.7221 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2274, allocations: 39.95 kB / 0.7221 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2275, allocations: 0 / 0.7221 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/0.2275, allocations: 19.92 kB / 0.7222 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2279, allocations: 8.125 kB / 0.7222 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.2283, allocations: 139.1 kB / 0.7223 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.283e-05/0.2284, allocations: 63.34 kB / 0.7224 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.2284, allocations: 0 / 0.7224 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.2284, allocations: 16.44 kB / 0.7224 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.2285, allocations: 0 / 0.7224 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.2607, allocations: 1.929 MB / 0.7243 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.43, allocations: 6.281 kB / 0.7243 GB, free: 4.074 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.34291168100026] Failed to read output from testmodel.py, exit status != 0: 11.53507034300128 11.556498036 11.33029089 Calling exit ...