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.0007744/0.0007744, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0007336/0.0007336, allocations: 162 kB / 22.43 MB, free: 2.141 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.8994/0.8994, allocations: 177.2 MB / 202.8 MB, free: 5.785 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.7032/0.7032, allocations: 155 MB / 414.2 MB, free: 472 kB / 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: 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.001452/0.001452, allocations: 63.91 kB / 0.6187 GB, free: 13.18 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4829, allocations: 102 MB / 0.7183 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001417/0.4843, allocations: 0.6475 MB / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007134/0.485, allocations: 0.8341 MB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.4851, allocations: 5.031 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.4851, allocations: 0 / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.4852, allocations: 5.031 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.4853, allocations: 12.62 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.4853, allocations: 24.02 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.4854, allocations: 3.734 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.4855, allocations: 11.11 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/0.4855, allocations: 12.77 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.4856, allocations: 2.219 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.4856, allocations: 5.812 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.4856, allocations: 2.656 kB / 0.7198 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.4856, allocations: 10.78 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.067e-05/0.4857, allocations: 25.8 kB / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4857, allocations: 0 / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4857, allocations: 4.969 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4857, allocations: 0 / 0.7199 GB, free: 22.05 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.0002985/0.486, allocations: 261.3 kB / 0.7201 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.486, allocations: 10.84 kB / 0.7201 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.134e-05/0.4861, allocations: 35.45 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.939e-05/0.4861, allocations: 5.922 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.585e-05/0.4861, allocations: 106.4 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.4861, allocations: 9.625 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.4862, allocations: 2.672 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4863, allocations: 48.44 kB / 0.7203 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.4863, allocations: 3.938 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4863, allocations: 1.75 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4863, allocations: 0 / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.282e-05/0.4864, allocations: 37.11 kB / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.4866, allocations: 214 kB / 0.7206 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.4867, allocations: 43.64 kB / 0.7206 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.4868, allocations: 23.38 kB / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.4868, allocations: 1.156 kB / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.4868, allocations: 32.36 kB / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4868, allocations: 0 / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002152/0.487, allocations: 89.06 kB / 0.7208 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.487, allocations: 55.86 kB / 0.7208 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.136e-05/0.4871, allocations: 98.03 kB / 0.7209 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-06/0.4871, allocations: 25.7 kB / 0.7209 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.4871, allocations: 90.27 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.4871, allocations: 2.094 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.4871, allocations: 11.7 kB / 0.721 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.996e-05/0.4872, allocations: 317.7 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.4872, allocations: 18.64 kB / 0.7214 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.4872, allocations: 18.14 kB / 0.7214 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.148e-05/0.4873, allocations: 37.83 kB / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4873, allocations: 3.938 kB / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.4874, allocations: 75.39 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4874, allocations: 4.719 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4874, allocations: 0.7031 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4875, allocations: 1.75 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.4875, allocations: 11.81 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.4875, allocations: 1.562 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.4876, allocations: 5.25 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.4876, allocations: 1.938 kB / 0.7215 GB, free: 20.51 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 3.667e-05/0.4876, allocations: 116.7 kB / 0.7216 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.4876, allocations: 1.797 kB / 0.7216 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.4876, allocations: 13.33 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.4876, allocations: 0 / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4876, allocations: 3.984 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4876, allocations: 1.531 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.473e-05/0.4877, allocations: 128.7 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.4877, allocations: 0 / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.4877, allocations: 9.406 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4877, allocations: 0.5156 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4877, allocations: 1 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.4877, allocations: 0.9375 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4877, allocations: 4 kB / 0.7218 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.4879, allocations: 168.1 kB / 0.7219 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.4879, allocations: 9.859 kB / 0.722 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.4879, allocations: 5.219 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.4879, allocations: 5.953 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.488, allocations: 2.672 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.488, allocations: 1.188 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.728e-05/0.488, allocations: 84.03 kB / 0.722 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.488, allocations: 4.031 kB / 0.722 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001361/0.4881, allocations: 3.344 kB / 0.7221 GB, free: 19.97 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.000225/0.4883, allocations: 0.6921 MB / 0.7227 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.4885, allocations: 39.52 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4885, allocations: 4.094 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.151e-05/0.4885, allocations: 15.89 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.4887, allocations: 8.156 kB / 0.7228 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.489, allocations: 131.2 kB / 0.7229 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.62e-05/0.4891, allocations: 60.16 kB / 0.723 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.4891, allocations: 0 / 0.723 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.4891, allocations: 15.19 kB / 0.723 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.4891, allocations: 64 / 0.723 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.5053, allocations: 1.947 MB / 0.7249 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/6.996, allocations: 2.391 kB / 0.7249 GB, free: 18.16 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.671868633944541] Failed to read output from testmodel.py, exit status != 0: 7.075220087775961 7.084176382 6.596372915 Calling exit ...