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.0008469/0.0008469, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0008608/0.0008608, allocations: 162 kB / 22.43 MB, free: 2.145 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.8982/0.8982, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.7098/0.7098, allocations: 154.7 MB / 413.9 MB, free: 0.7344 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.001008/0.001008, allocations: 66.86 kB / 0.6184 GB, free: 13.55 MB / 0.5886 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.4689/0.4699, allocations: 102 MB / 0.718 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001462/0.4713, allocations: 0.6412 MB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.4721, allocations: 0.8261 MB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.4721, allocations: 0 / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.4722, allocations: 4.516 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.4722, allocations: 6.391 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.4724, allocations: 7.406 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.4725, allocations: 23.88 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4726, allocations: 11.75 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.4727, allocations: 15.75 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.4727, allocations: 8.844 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.4727, allocations: 2.312 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-06/0.4728, allocations: 2.344 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.4728, allocations: 5.016 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.4728, allocations: 11.28 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.938e-05/0.4729, allocations: 29.08 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4729, allocations: 5.219 kB / 0.7195 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4729, allocations: 0 / 0.7195 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.4729, allocations: 3.938 kB / 0.7195 GB, free: 22.22 MB / 0.6355 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.0003657/0.4733, allocations: 259.9 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4733, allocations: 9.938 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.354e-05/0.4733, allocations: 30.75 kB / 0.7198 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.4734, allocations: 6.625 kB / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.209e-05/0.4734, allocations: 119.1 kB / 0.7199 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4734, allocations: 4.375 kB / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.4735, allocations: 1.719 kB / 0.7199 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.4736, allocations: 50.05 kB / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4736, allocations: 3.938 kB / 0.72 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.4736, allocations: 0 / 0.72 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4736, allocations: 1.469 kB / 0.72 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.628e-05/0.4737, allocations: 36.86 kB / 0.72 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.474, allocations: 211 kB / 0.7202 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.4741, allocations: 43.55 kB / 0.7203 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.4741, allocations: 23.53 kB / 0.7203 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.4741, allocations: 1.188 kB / 0.7203 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.4741, allocations: 32.38 kB / 0.7203 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.4742, allocations: 0 / 0.7203 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002373/0.4744, allocations: 88.33 kB / 0.7204 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.4744, allocations: 52.56 kB / 0.7205 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.532e-05/0.4745, allocations: 97.61 kB / 0.7205 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.4745, allocations: 29.64 kB / 0.7206 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.4745, allocations: 91.27 kB / 0.7207 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.4745, allocations: 0 / 0.7207 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.4745, allocations: 14.28 kB / 0.7207 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.866e-05/0.4746, allocations: 316.2 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.4746, allocations: 14.03 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.4746, allocations: 22.44 kB / 0.721 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.4747, allocations: 42.03 kB / 0.7211 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4747, allocations: 3.938 kB / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.485e-05/0.4748, allocations: 66.72 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4748, allocations: 6.031 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4748, allocations: 0 / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4748, allocations: 6 kB / 0.7211 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.4749, allocations: 8.031 kB / 0.7211 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4749, allocations: 0.7969 kB / 0.7211 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.4749, allocations: 6.516 kB / 0.7211 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.4749, allocations: 0 / 0.7211 GB, free: 20.67 MB / 0.6355 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 4.362e-05/0.475, allocations: 117.7 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.475, allocations: 1.719 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.475, allocations: 8.953 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.475, allocations: 5.031 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.475, allocations: 8.656 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.475, allocations: 0 / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.4751, allocations: 129.4 kB / 0.7214 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4751, allocations: 0 / 0.7214 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.4751, allocations: 13.61 kB / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4751, allocations: 0 / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4751, allocations: 1.219 kB / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.4751, allocations: 0.6094 kB / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4751, allocations: 0 / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.4752, allocations: 168.3 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.4753, allocations: 5.359 kB / 0.7216 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.4753, allocations: 1.781 kB / 0.7216 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.8e-05/0.4753, allocations: 6.188 kB / 0.7216 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.4753, allocations: 6.672 kB / 0.7216 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.4753, allocations: 1.062 kB / 0.7216 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.859e-05/0.4754, allocations: 88.19 kB / 0.7217 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4754, allocations: 0 / 0.7217 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001392/0.4755, allocations: 3.656 kB / 0.7217 GB, free: 20.14 MB / 0.6355 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.0002489/0.4758, allocations: 0.696 MB / 0.7224 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.4759, allocations: 35.33 kB / 0.7224 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4759, allocations: 0 / 0.7224 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.4759, allocations: 20.16 kB / 0.7224 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.4762, allocations: 10.91 kB / 0.7224 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.4765, allocations: 135.7 kB / 0.7226 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.4765, allocations: 59.91 kB / 0.7226 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.4766, allocations: 0.6562 kB / 0.7226 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.4766, allocations: 10.45 kB / 0.7226 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4766, allocations: 1.469 kB / 0.7226 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.4919, allocations: 1.931 MB / 0.7245 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.417/6.908, allocations: 9.328 kB / 0.7245 GB, free: 18.33 MB / 0.6355 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.667004367918707] Failed to read output from testmodel.py, exit status != 0: 6.987572759971954 7.002191663 6.526659997 Calling exit ...