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.001196/0.001196, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001011/0.001011, allocations: 216 kB / 22.25 MB, free: 3.73 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.9408/0.9408, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.7943/0.7943, allocations: 203.5 MB / 0.5039 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 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.0009543/0.0009543, allocations: 71.11 kB / 0.7178 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5263, allocations: 102 MB / 0.8174 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001501/0.5278, allocations: 0.6502 MB / 0.8181 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007827/0.5286, allocations: 0.8254 MB / 0.8189 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.5286, allocations: 0 / 0.8189 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.5286, allocations: 3.938 kB / 0.8189 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.5287, allocations: 6.109 kB / 0.8189 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.5289, allocations: 7.672 kB / 0.8189 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.5289, allocations: 24.75 kB / 0.8189 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.5291, allocations: 12.05 kB / 0.8189 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.5291, allocations: 7.594 kB / 0.8189 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.5292, allocations: 14.94 kB / 0.8189 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.5292, allocations: 2 kB / 0.8189 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.5292, allocations: 3.406 kB / 0.8189 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.5292, allocations: 1.078 kB / 0.8189 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.5292, allocations: 12.47 kB / 0.819 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.829e-05/0.5293, allocations: 28.06 kB / 0.819 GB, free: 8 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5293, allocations: 0 / 0.819 GB, free: 8 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5293, allocations: 0 / 0.819 GB, free: 8 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.5294, allocations: 0 / 0.819 GB, free: 8 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.0008704/0.5302, allocations: 263.3 kB / 0.8192 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5303, allocations: 12.28 kB / 0.8192 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.5303, allocations: 31.55 kB / 0.8193 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.5303, allocations: 2.781 kB / 0.8193 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.316e-05/0.5304, allocations: 117.6 kB / 0.8194 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.5304, allocations: 2.906 kB / 0.8194 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.5304, allocations: 384 / 0.8194 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.5306, allocations: 55.58 kB / 0.8194 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5306, allocations: 3.938 kB / 0.8194 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5306, allocations: 4.75 kB / 0.8195 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5306, allocations: 0 / 0.8195 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5307, allocations: 31.58 kB / 0.8195 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.531, allocations: 210.8 kB / 0.8197 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5311, allocations: 39.39 kB / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.5312, allocations: 22.2 kB / 0.8197 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.5312, allocations: 7.938 kB / 0.8198 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.5312, allocations: 31.27 kB / 0.8198 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.5312, allocations: 0 / 0.8198 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002413/0.5315, allocations: 79.86 kB / 0.8199 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.5315, allocations: 54.27 kB / 0.8199 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.5316, allocations: 100.1 kB / 0.82 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.5316, allocations: 25.7 kB / 0.82 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.5316, allocations: 83.53 kB / 0.8201 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.5316, allocations: 8.688 kB / 0.8201 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.5317, allocations: 16.58 kB / 0.8201 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.5317, allocations: 312.7 kB / 0.8204 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.773e-05/0.5318, allocations: 23.41 kB / 0.8205 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.5318, allocations: 20.8 kB / 0.8205 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.654e-05/0.5319, allocations: 34.69 kB / 0.8205 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5319, allocations: 11.94 kB / 0.8205 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/0.532, allocations: 67.77 kB / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5321, allocations: 4.719 kB / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5321, allocations: 0 / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5321, allocations: 1.047 kB / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.5322, allocations: 12.97 kB / 0.8206 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5322, allocations: 5.484 kB / 0.8206 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.5322, allocations: 4.688 kB / 0.8206 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.5322, allocations: 6.078 kB / 0.8206 GB, free: 14.45 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.854e-05/0.5323, allocations: 116.7 kB / 0.8207 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.5323, allocations: 3.844 kB / 0.8207 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.5323, allocations: 12.62 kB / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5323, allocations: 0 / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5323, allocations: 0 / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5323, allocations: 3.938 kB / 0.8207 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.5324, allocations: 123.5 kB / 0.8209 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5324, allocations: 2.281 kB / 0.8209 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.5325, allocations: 9.25 kB / 0.8209 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5325, allocations: 4.188 kB / 0.8209 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.5325, allocations: 4.75 kB / 0.8209 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5325, allocations: 0 / 0.8209 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5325, allocations: 0 / 0.8209 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.5326, allocations: 163.4 kB / 0.821 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.5326, allocations: 7.547 kB / 0.821 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.5326, allocations: 0.7031 kB / 0.821 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.5327, allocations: 9.984 kB / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.5327, allocations: 10.89 kB / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.5327, allocations: 0 / 0.8211 GB, free: 14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.688e-05/0.5328, allocations: 80.97 kB / 0.8211 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5328, allocations: 0 / 0.8211 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001446/0.5329, allocations: 4.188 kB / 0.8211 GB, free: 13.92 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.000371/0.5333, allocations: 0.6888 MB / 0.8218 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.5334, allocations: 42.38 kB / 0.8219 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5334, allocations: 0 / 0.8219 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.637e-05/0.5335, allocations: 20.66 kB / 0.8219 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.5337, allocations: 2.406 kB / 0.8219 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.5342, allocations: 144.4 kB / 0.822 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.674e-05/0.5342, allocations: 65.02 kB / 0.8221 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.5343, allocations: 4.875 kB / 0.8221 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.5343, allocations: 7.953 kB / 0.8221 GB, free: 13 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5343, allocations: 0 / 0.8221 GB, free: 13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.549, allocations: 1.815 MB / 0.8239 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/7.337, allocations: 6.797 kB / 0.8239 GB, free: 12.15 MB / 0.6198 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: 10.32420572405681] Failed to read output from testmodel.py, exit status != 0: 7.415565002243966 7.429601812 6.89799717 Calling exit ...