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.000943/0.000943, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009797/0.0009797, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.007/1.007, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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 0.8097/0.8097, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [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.0008808/0.0008808, allocations: 67.44 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5451, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00164/0.5467, allocations: 0.6524 MB / 0.8181 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.5475, allocations: 0.8207 MB / 0.8189 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.5476, allocations: 2.531 kB / 0.8189 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.5476, allocations: 7.875 kB / 0.8189 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.5477, allocations: 7.938 kB / 0.8189 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.5478, allocations: 7.828 kB / 0.8189 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.5479, allocations: 28.28 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.548, allocations: 3.172 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.078e-05/0.5481, allocations: 10.27 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.685e-05/0.5481, allocations: 9.5 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.5481, allocations: 2.188 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-06/0.5481, allocations: 2.062 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.5481, allocations: 5.266 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.5482, allocations: 10.47 kB / 0.819 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.876e-05/0.5483, allocations: 28.48 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5483, allocations: 1.625 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5483, allocations: 0 / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.5483, allocations: 3.938 kB / 0.819 GB, free: 168 kB / 0.6042 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.0003789/0.5486, allocations: 258.6 kB / 0.8192 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5487, allocations: 9.219 kB / 0.8192 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.5487, allocations: 36.75 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.5488, allocations: 1.938 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.5488, allocations: 113.9 kB / 0.8194 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.5489, allocations: 2.406 kB / 0.8194 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.5489, allocations: 4.375 kB / 0.8194 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.549, allocations: 54.55 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.549, allocations: 3.938 kB / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5491, allocations: 1.078 kB / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5491, allocations: 0 / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.5492, allocations: 33.12 kB / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.5495, allocations: 216.8 kB / 0.8197 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.5496, allocations: 45.67 kB / 0.8197 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.5497, allocations: 25.3 kB / 0.8198 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5497, allocations: 0 / 0.8198 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.5497, allocations: 34.98 kB / 0.8198 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5497, allocations: 0 / 0.8198 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002642/0.55, allocations: 77.23 kB / 0.8199 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.55, allocations: 56.14 kB / 0.8199 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.5501, allocations: 98.33 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.5501, allocations: 25.7 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.5502, allocations: 95.95 kB / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.5502, allocations: 4.609 kB / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.5502, allocations: 11.28 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5503, allocations: 317.6 kB / 0.8204 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.694e-05/0.5504, allocations: 15.83 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.5504, allocations: 17.19 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/0.5505, allocations: 40.86 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5505, allocations: 3.938 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.5507, allocations: 67.62 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5507, allocations: 4.844 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5507, allocations: 2.406 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5507, allocations: 1.031 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.5508, allocations: 15.7 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5508, allocations: 8.438 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.5508, allocations: 7.766 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.5508, allocations: 0 / 0.8206 GB, free: 14.61 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 5.981e-05/0.5509, allocations: 115.3 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.5509, allocations: 4.125 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.5509, allocations: 7.922 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5509, allocations: 0.6562 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5509, allocations: 0 / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5509, allocations: 4 kB / 0.8207 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.551, allocations: 129.3 kB / 0.8209 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.551, allocations: 0 / 0.8209 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.551, allocations: 8.188 kB / 0.8209 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.551, allocations: 4.062 kB / 0.8209 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.5511, allocations: 192 / 0.8209 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5511, allocations: 0 / 0.8209 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5511, allocations: 0.8438 kB / 0.8209 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.5512, allocations: 174.3 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.5512, allocations: 5.891 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.5512, allocations: 0.75 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.5513, allocations: 7.062 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.5513, allocations: 4.75 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.5513, allocations: 4.75 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.847e-05/0.5513, allocations: 80.97 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5513, allocations: 0 / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001443/0.5515, allocations: 6.297 kB / 0.8212 GB, free: 14.08 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.0003572/0.5518, allocations: 0.6922 MB / 0.8218 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.552, allocations: 37.59 kB / 0.8219 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.552, allocations: 3.938 kB / 0.8219 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.552, allocations: 20.95 kB / 0.8219 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.5523, allocations: 6.094 kB / 0.8219 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.5527, allocations: 140.3 kB / 0.822 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.014e-05/0.5527, allocations: 59.47 kB / 0.8221 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.5528, allocations: 2.812 kB / 0.8221 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.5528, allocations: 11.44 kB / 0.8221 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5528, allocations: 3.938 kB / 0.8221 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.5717, allocations: 1.811 MB / 0.8239 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.428, allocations: 6.984 kB / 0.8239 GB, free: 12.3 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.481472749263048] Failed to read output from testmodel.py, exit status != 0: 7.506474588997662 7.523291676 6.972151678 Calling exit ...