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.0008303/0.0008303, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009883/0.0009883, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.957/0.957, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7447/0.7447, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.774e-05, allocations: 13.09 kB / 0.6182 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001414/0.001442, allocations: 0.6389 MB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.002264, allocations: 0.8393 MB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.002295, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.002321, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.002378, allocations: 11.81 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.002513, allocations: 8 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.002575, allocations: 23.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.002662, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.002736, allocations: 15.97 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.332e-05/0.00277, allocations: 7.984 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.002788, allocations: 8 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.002796, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.002811, allocations: 7.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.002828, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.222e-05/0.0029, allocations: 19.95 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002903, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002904, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.002908, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 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.000297/0.003205, allocations: 258.4 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.003241, allocations: 8.031 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.003266, allocations: 34.75 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.003285, allocations: 12.89 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.003389, allocations: 109.7 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.003403, allocations: 8.359 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.00341, allocations: 384 / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.003534, allocations: 50.23 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003541, allocations: 192 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.003549, allocations: 384 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.003554, allocations: 4.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.102e-05/0.003645, allocations: 39.95 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.003927, allocations: 212.1 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/0.004008, allocations: 46.42 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.004058, allocations: 16.91 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.004077, allocations: 4 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.004095, allocations: 34.5 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.004096, allocations: 0 / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002255/0.004321, allocations: 89.59 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.004351, allocations: 55.34 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.004407, allocations: 101.8 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.004416, allocations: 25.7 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.004446, allocations: 84.14 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.004461, allocations: 7.953 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.004518, allocations: 13.72 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.004584, allocations: 310.8 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.004626, allocations: 24.09 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.00466, allocations: 15.98 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.004733, allocations: 36.77 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004734, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.646e-05/0.004831, allocations: 77.59 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004843, allocations: 4 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.004847, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.004857, allocations: 4 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.004916, allocations: 11.98 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.004921, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.004942, allocations: 4 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.004946, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 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.096e-05/0.004997, allocations: 114.8 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.005009, allocations: 3.938 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.005033, allocations: 19.3 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.005036, allocations: 4 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.005039, allocations: 0 / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005042, allocations: 0 / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.099e-05/0.005133, allocations: 120.8 kB / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005133, allocations: 0 / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.005156, allocations: 11.98 kB / 0.6216 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.005158, allocations: 3.938 kB / 0.6216 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.005165, allocations: 4 kB / 0.6216 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.005166, allocations: 3.938 kB / 0.6216 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005166, allocations: 4 kB / 0.6216 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.005293, allocations: 163.4 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.0053, allocations: 7.938 kB / 0.6218 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.005308, allocations: 0 / 0.6218 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.005344, allocations: 8.172 kB / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.005376, allocations: 0 / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.005379, allocations: 3.984 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.494e-05/0.005404, allocations: 83.28 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005404, allocations: 4.031 kB / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001436/0.005548, allocations: 4 kB / 0.6219 GB, free: 9.469 MB / 0.5886 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.0002892/0.005837, allocations: 0.689 MB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.005955, allocations: 39.91 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005956, allocations: 0 / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.005993, allocations: 20.08 kB / 0.6226 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.006284, allocations: 7.984 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.00658, allocations: 126.6 kB / 0.6228 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.006619, allocations: 63.34 kB / 0.6228 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.006636, allocations: 0 / 0.6228 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.006667, allocations: 12.44 kB / 0.6228 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.006668, allocations: 0 / 0.6228 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.02044, allocations: 1.948 MB / 0.6247 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.982/7.003, allocations: 4.062 kB / 0.6247 GB, free: 6.613 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.858029385097325] Failed to read output from testmodel.py, exit status != 0: 7.084159138612449 7.093453092 7.08851061 Calling exit ...