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.0008315/0.0008315, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009296/0.0009296, allocations: 221.7 kB / 22.26 MB, free: 3.691 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 0.9821/0.9821, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.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.8106/0.8106, allocations: 203.8 MB / 0.5042 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 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.0009705/0.0009705, allocations: 71.94 kB / 0.7183 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5574/0.5584, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001598/0.56, allocations: 0.6599 MB / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.5608, allocations: 0.8343 MB / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.5608, allocations: 0 / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.5609, allocations: 0 / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.5609, allocations: 4.656 kB / 0.8194 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.5611, allocations: 12.73 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.108e-05/0.5612, allocations: 30.86 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.5613, allocations: 0.9375 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.5613, allocations: 9 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.5614, allocations: 17.16 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.5614, allocations: 1.625 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.5614, allocations: 3.781 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.5614, allocations: 1.359 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.5614, allocations: 11.17 kB / 0.8195 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.317e-05/0.5615, allocations: 29.62 kB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5615, allocations: 0 / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5615, allocations: 0 / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.5616, allocations: 0 / 0.8195 GB, free: 156 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.0003654/0.5619, allocations: 262.6 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.562, allocations: 14.31 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.562, allocations: 31.41 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.562, allocations: 0.9375 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.5621, allocations: 126.4 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.5621, allocations: 384 / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.5621, allocations: 2.828 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.5623, allocations: 51.61 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5623, allocations: 5.625 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.5623, allocations: 4.75 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5623, allocations: 0 / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.5624, allocations: 32.39 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.5627, allocations: 215.7 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.5628, allocations: 42.36 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.5628, allocations: 23.23 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5629, allocations: 2.625 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.5629, allocations: 34.56 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.5629, allocations: 0 / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002236/0.5631, allocations: 75.48 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.5631, allocations: 60 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.5632, allocations: 101.1 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.5632, allocations: 27.02 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.5633, allocations: 81.36 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.5633, allocations: 9.891 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.5633, allocations: 14.67 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.701e-05/0.5634, allocations: 312.1 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.151e-05/0.5634, allocations: 22.02 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.5635, allocations: 13.88 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.5636, allocations: 40.72 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5636, allocations: 3.938 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001098/0.5637, allocations: 78.52 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5637, allocations: 7.953 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5637, allocations: 0 / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5637, allocations: 0 / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.5638, allocations: 8.75 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5638, allocations: 0 / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.5638, allocations: 5.75 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.5638, allocations: 1.594 kB / 0.8211 GB, free: 14.59 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.826e-05/0.5639, allocations: 116 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.5639, allocations: 1.859 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.5639, allocations: 13 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5639, allocations: 0 / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5639, allocations: 1.094 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5639, allocations: 4.688 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.564, allocations: 132 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.564, allocations: 0 / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.5641, allocations: 7.469 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5641, allocations: 2.5 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.5641, allocations: 4 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.5641, allocations: 0 / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5641, allocations: 0.6094 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.5642, allocations: 167.5 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.5642, allocations: 11.45 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.5642, allocations: 0.5156 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.5643, allocations: 10.08 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.5643, allocations: 1.406 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.5643, allocations: 0.5156 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.5643, allocations: 84.48 kB / 0.8216 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5643, allocations: 0 / 0.8216 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000139/0.5645, allocations: 5.562 kB / 0.8217 GB, free: 14.06 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.0003559/0.5648, allocations: 0.698 MB / 0.8223 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.565, allocations: 35.44 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.565, allocations: 0 / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.565, allocations: 21.62 kB / 0.8224 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5653, allocations: 13.47 kB / 0.8224 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.5656, allocations: 138.2 kB / 0.8225 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.5658, allocations: 0.679 MB / 0.8232 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.5658, allocations: 0.6562 kB / 0.8232 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.5659, allocations: 8.141 kB / 0.8232 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5659, allocations: 0 / 0.8232 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.5822, allocations: 1.391 MB / 0.8246 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/7.272, allocations: 10.92 kB / 0.8246 GB, free: 12.08 MB / 0.6198 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: 10.252319876104593] Failed to read output from testmodel.py, exit status != 0: 7.350977193797007 7.363584211 6.799870675 Calling exit ...