Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000763/0.000763, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008533/0.0008533, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.881/0.881, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7511/0.7511, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.43e-05, allocations: 8.531 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001429/0.001453, allocations: 0.6475 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000712/0.002165, allocations: 0.8353 MB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.002194, allocations: 4 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.00222, allocations: 0 / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.002284, allocations: 7.922 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.002413, allocations: 3.984 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.002474, allocations: 27.92 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.002563, allocations: 4 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.002629, allocations: 11.98 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.002662, allocations: 11.92 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.002682, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.002689, allocations: 4 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.002704, allocations: 4 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.002722, allocations: 4 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.208e-05/0.002794, allocations: 23.95 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002796, allocations: 3.938 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002797, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.0028, allocations: 0 / 0.6197 GB, free: 12.07 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.0003272/0.003127, allocations: 258.4 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.003167, allocations: 9.469 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.003203, allocations: 38.67 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.003224, allocations: 12.89 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.217e-05/0.003296, allocations: 105.7 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.003307, allocations: 4.359 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.003314, allocations: 4.375 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.003434, allocations: 50.23 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003442, allocations: 192 / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.003449, allocations: 384 / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.003454, allocations: 4.125 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.003541, allocations: 31.95 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.003794, allocations: 220 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.003892, allocations: 34.56 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.003944, allocations: 24.89 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.003961, allocations: 0 / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.003983, allocations: 38.5 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.003984, allocations: 0 / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.004199, allocations: 89.53 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.004229, allocations: 55.41 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.00428, allocations: 93.86 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.004291, allocations: 29.7 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.004322, allocations: 84.12 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.004337, allocations: 7.953 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.004361, allocations: 9.719 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.004437, allocations: 322.8 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.815e-05/0.004475, allocations: 12.11 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.004511, allocations: 23.97 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.004585, allocations: 36.83 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004587, allocations: 0 / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001009/0.004688, allocations: 73.53 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.0047, allocations: 4.094 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.004705, allocations: 4 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.004715, allocations: 3.938 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.004789, allocations: 11.98 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.004795, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.004818, allocations: 4 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.004822, allocations: 0 / 0.6213 GB, free: 10.2 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.237e-05/0.004875, allocations: 114.8 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.004888, allocations: 7.922 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.00491, allocations: 3.312 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004911, allocations: 4 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.004916, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.004919, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.748e-05/0.005016, allocations: 128.8 kB / 0.6215 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005017, allocations: 0 / 0.6215 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.005041, allocations: 8 kB / 0.6215 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.005044, allocations: 3.938 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.005055, allocations: 7.984 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.005056, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005057, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.005184, allocations: 171.4 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.005189, allocations: 3.938 kB / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.005198, allocations: 0 / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.553e-05/0.005233, allocations: 4.188 kB / 0.6217 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.005263, allocations: 7.984 kB / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.005266, allocations: 3.984 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.00529, allocations: 79.28 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00529, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001392/0.005429, allocations: 8.031 kB / 0.6218 GB, free: 9.586 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.0004748/0.005904, allocations: 0.6889 MB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.006025, allocations: 35.95 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006026, allocations: 4 kB / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.006065, allocations: 20.08 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.006259, allocations: 4 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.006555, allocations: 142.5 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.006594, allocations: 55.36 kB / 0.6227 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.006611, allocations: 7.938 kB / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.006641, allocations: 12.48 kB / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of SimCode: time 2.21e-07/0.006641, allocations: 0 / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.02198, allocations: 1.943 MB / 0.6247 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.742, allocations: 13.34 kB / 0.6247 GB, free: 6.727 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.550887512974441] Failed to read output from testmodel.py, exit status != 0: 6.8218392711132765 6.830091079 6.825669295 Calling exit ...