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.001093/0.001093, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001336/0.001336, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9132/0.9132, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7142/0.7142, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.659e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001111/0.001127, allocations: 0.6524 MB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006948/0.001822, allocations: 0.8314 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.001845, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.001865, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.001904, allocations: 4 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.674e-05/0.002001, allocations: 15.91 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.192e-05/0.002053, allocations: 23.94 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.002116, allocations: 7.984 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.00216, allocations: 8 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.734e-05/0.002188, allocations: 15.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.002202, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.002208, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.002224, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.002239, allocations: 11.98 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.666e-05/0.002296, allocations: 19.95 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.002297, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002298, allocations: 0 / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002301, allocations: 0 / 0.6197 GB, free: 11.99 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.0002532/0.002555, allocations: 262.3 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.002589, allocations: 12.03 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.002614, allocations: 30.75 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.411e-05/0.002628, allocations: 4.891 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.754e-05/0.002695, allocations: 113.7 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.002702, allocations: 384 / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.002708, allocations: 384 / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.347e-05/0.002802, allocations: 54.17 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-06/0.002807, allocations: 192 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.002814, allocations: 8.375 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.002818, allocations: 4.125 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.002898, allocations: 31.95 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.003109, allocations: 212.1 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.00318, allocations: 42.5 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.00322, allocations: 16.91 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.003233, allocations: 0 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.003252, allocations: 38.5 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.003253, allocations: 7.938 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001804/0.003433, allocations: 81.59 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.003456, allocations: 51.41 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.056e-05/0.003507, allocations: 105.8 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.003517, allocations: 29.64 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.003545, allocations: 80.14 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.003557, allocations: 8.078 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.003578, allocations: 17.72 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.003654, allocations: 314.8 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.003691, allocations: 19.98 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.003723, allocations: 11.98 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.003799, allocations: 40.81 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.0038, allocations: 4.062 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.477e-05/0.003895, allocations: 65.61 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.003906, allocations: 4 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.003911, allocations: 0 / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.003922, allocations: 0 / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.00398, allocations: 15.92 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.003985, allocations: 0 / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.004006, allocations: 15.92 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.004011, allocations: 4.031 kB / 0.6214 GB, free: 10.12 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.054e-05/0.004061, allocations: 106.8 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.004074, allocations: 7.938 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.004102, allocations: 7.266 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004103, allocations: 0 / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.004107, allocations: 0 / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.00411, allocations: 0 / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.576e-05/0.004206, allocations: 124.9 kB / 0.6216 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.004209, allocations: 8 kB / 0.6216 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.004232, allocations: 7.984 kB / 0.6216 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.004235, allocations: 11.92 kB / 0.6216 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.004241, allocations: 0 / 0.6216 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004242, allocations: 0 / 0.6216 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.004243, allocations: 4 kB / 0.6216 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.004366, allocations: 167.4 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-06/0.004371, allocations: 3.938 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.004379, allocations: 0 / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/0.004414, allocations: 7.984 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.004442, allocations: 4.031 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.004444, allocations: 4 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.004471, allocations: 87.27 kB / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004471, allocations: 0 / 0.6219 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001293/0.0046, allocations: 3.938 kB / 0.6219 GB, free: 9.504 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.0002932/0.004893, allocations: 0.689 MB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.005003, allocations: 39.94 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005005, allocations: 0 / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.005047, allocations: 19.97 kB / 0.6226 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.005227, allocations: 11.17 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.005497, allocations: 126.6 kB / 0.6228 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.005542, allocations: 59.34 kB / 0.6228 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.005558, allocations: 4.125 kB / 0.6228 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.005588, allocations: 12.5 kB / 0.6228 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.005589, allocations: 0 / 0.6228 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02066, allocations: 1.949 MB / 0.6247 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.49, allocations: 3.391 kB / 0.6247 GB, free: 6.648 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.139996896497905] Failed to read output from testmodel.py, exit status != 0: 6.5733963986858726 6.582230588 6.578311039 Calling exit ...