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.000854/0.000854, 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.0008484/0.0008484, 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.9711/0.9711, 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.7331/0.7331, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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.156e-06/3.156e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.502e-05, allocations: 8.016 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001241/0.001266, allocations: 0.6495 MB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.002201, allocations: 0.8314 MB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.002238, allocations: 0 / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.002269, allocations: 0 / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.002337, allocations: 7.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.002495, allocations: 7.984 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.002569, allocations: 19.94 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.002679, allocations: 7.984 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.00276, allocations: 19.94 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.002798, allocations: 7.969 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.002822, allocations: 4 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.00283, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.002848, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.002868, allocations: 7.984 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.002968, allocations: 23.91 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.002971, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002972, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.002977, allocations: 0 / 0.6197 GB, free: 12.04 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.0003921/0.003369, allocations: 262.4 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.003417, allocations: 9.469 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.003448, allocations: 30.75 kB / 0.6199 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.003473, allocations: 8.891 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.041e-05/0.003554, allocations: 105.7 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.003565, allocations: 4.375 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.003572, allocations: 4.312 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.003715, allocations: 54.22 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003724, allocations: 192 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.003733, allocations: 4.375 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003739, allocations: 4.125 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.003836, allocations: 35.95 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.004138, allocations: 208.1 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.816e-05/0.004226, allocations: 42.48 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.004271, allocations: 20.91 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.004289, allocations: 0 / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.00431, allocations: 42.5 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.004311, allocations: 0 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002206/0.004531, allocations: 85.59 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.00456, allocations: 51.41 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.004614, allocations: 101.8 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.004625, allocations: 25.7 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.004665, allocations: 88.14 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.004683, allocations: 16 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.004706, allocations: 9.719 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.0048, allocations: 326.8 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.004846, allocations: 11.98 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.004882, allocations: 15.98 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.004963, allocations: 36.83 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004965, allocations: 64 / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001075/0.005072, allocations: 73.59 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.005087, allocations: 4 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.005092, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.005105, allocations: 3.938 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.005174, allocations: 11.98 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.00518, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.005202, allocations: 7.984 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.005208, allocations: 4.031 kB / 0.6213 GB, free: 10.17 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.879e-05/0.005267, allocations: 114.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.005278, allocations: 3.938 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.005304, allocations: 3.312 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.005307, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.005313, allocations: 4 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005316, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.005418, allocations: 124.8 kB / 0.6215 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005419, allocations: 0 / 0.6215 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.005448, allocations: 11.98 kB / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.005453, allocations: 11.94 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.00546, allocations: 0 / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005461, allocations: 0 / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.005463, allocations: 0 / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.005611, allocations: 163.4 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.005619, allocations: 7.938 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.00563, allocations: 4 kB / 0.6217 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.005667, allocations: 7.984 kB / 0.6217 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.005707, allocations: 4.031 kB / 0.6217 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.00571, allocations: 0 / 0.6217 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.005741, allocations: 87.44 kB / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005741, allocations: 0 / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001391/0.00588, allocations: 7.938 kB / 0.6218 GB, free: 9.555 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.0003581/0.006238, allocations: 0.6851 MB / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.006372, allocations: 43.94 kB / 0.6225 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006373, allocations: 0 / 0.6225 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.006415, allocations: 19.97 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.006639, allocations: 4 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.007011, allocations: 137.7 kB / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.007055, allocations: 59.34 kB / 0.6227 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.893e-05/0.007074, allocations: 8.125 kB / 0.6228 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.007112, allocations: 12.5 kB / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of SimCode: time 5.1e-07/0.007112, allocations: 0 / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.02709, allocations: 1.94 MB / 0.6247 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/6.879, allocations: 8.062 kB / 0.6247 GB, free: 6.703 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 & /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.701454114168882] Failed to read output from testmodel.py, exit status != 0: 6.9586869440972805 6.970709447 6.965934871 Calling exit ...