Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0009113/0.0009113, allocations: 105.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.001012/0.001012, allocations: 211.6 kB / 22.25 MB, free: 3.586 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 1.092/1.092, allocations: 230.6 MB / 256 MB, free: 9.414 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.9989/0.9989, allocations: 203.5 MB / 0.5039 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 178] 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.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.001101/0.001101, allocations: 69.61 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8304, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002014/0.8324, allocations: 0.5425 MB / 0.8179 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 6.488e-05/0.8325, allocations: 6.125 kB / 0.8179 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.8325, allocations: 0 / 0.8179 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.64e-05/0.8326, allocations: 0.8438 kB / 0.8179 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.8326, allocations: 0 / 0.8179 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.055e-05/0.8327, allocations: 4 kB / 0.8179 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.8328, allocations: 2.219 kB / 0.8179 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.8329, allocations: 5.047 kB / 0.8179 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.8329, allocations: 0 / 0.8179 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.8329, allocations: 4.594 kB / 0.8179 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.833, allocations: 0 / 0.8179 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.833, allocations: 6.219 kB / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.833, allocations: 0 / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.833, allocations: 0 / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.8331, allocations: 1.219 kB / 0.8179 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.8331, allocations: 3.094 kB / 0.818 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.827e-06/0.8331, allocations: 0 / 0.818 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.8331, allocations: 0 / 0.818 GB, free: 0.8984 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003566/0.8335, allocations: 244.1 kB / 0.8182 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.8336, allocations: 8.969 kB / 0.8182 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.8336, allocations: 31.41 kB / 0.8182 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.8336, allocations: 4.719 kB / 0.8182 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.8337, allocations: 111.8 kB / 0.8183 GB, free: 476 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.8338, allocations: 4.312 kB / 0.8183 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.8338, allocations: 4.312 kB / 0.8183 GB, free: 468 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.8339, allocations: 35 kB / 0.8184 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8339, allocations: 3.938 kB / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.8339, allocations: 0 / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8339, allocations: 0 / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.8339, allocations: 0.8438 kB / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.8343, allocations: 353.2 kB / 0.8187 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.8344, allocations: 171.2 kB / 0.8189 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.8345, allocations: 92.09 kB / 0.819 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.8345, allocations: 75.98 kB / 0.819 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.8346, allocations: 105.8 kB / 0.8191 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.8346, allocations: 0 / 0.8191 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 9.207e-05/0.8347, allocations: 32.81 kB / 0.8192 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.8347, allocations: 127.3 kB / 0.8193 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.8349, allocations: 99.61 kB / 0.8194 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.8349, allocations: 25.7 kB / 0.8194 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.8349, allocations: 84.12 kB / 0.8195 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.8349, allocations: 0 / 0.8195 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.835, allocations: 16.97 kB / 0.8195 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8351, allocations: 311.7 kB / 0.8198 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.8351, allocations: 0 / 0.8198 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-06/0.8351, allocations: 0 / 0.8198 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.8351, allocations: 77.59 kB / 0.8199 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-05/0.8352, allocations: 83.78 kB / 0.82 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.396e-05/0.8352, allocations: 39.06 kB / 0.82 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.8353, allocations: 79.3 kB / 0.8201 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/0.8353, allocations: 75.28 kB / 0.8201 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-05/0.8354, allocations: 157.1 kB / 0.8203 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.8354, allocations: 84.06 kB / 0.8204 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.285e-05/0.8355, allocations: 155.3 kB / 0.8205 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.8355, allocations: 82.06 kB / 0.8206 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.8356, allocations: 80.02 kB / 0.8207 GB, free: 13.98 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 (0): * Single equations (assignments): 0 * 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 0.0001693/0.8357, allocations: 268.6 kB / 0.8209 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.8358, allocations: 103.6 kB / 0.821 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.8359, allocations: 112.6 kB / 0.8211 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.442e-05/0.8359, allocations: 178.4 kB / 0.8213 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.243e-05/0.836, allocations: 187.9 kB / 0.8215 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.541e-05/0.8361, allocations: 181.6 kB / 0.8217 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.8364, allocations: 373 kB / 0.822 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/0.8364, allocations: 113.3 kB / 0.8221 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.8365, allocations: 101 kB / 0.8222 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.582e-05/0.8366, allocations: 185.3 kB / 0.8224 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-05/0.8367, allocations: 188.3 kB / 0.8226 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.598e-05/0.8368, allocations: 176.8 kB / 0.8227 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.442e-05/0.8368, allocations: 182.9 kB / 0.8229 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.837, allocations: 310.5 kB / 0.8232 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.8371, allocations: 106.5 kB / 0.8233 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/0.8372, allocations: 176.9 kB / 0.8235 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.8373, allocations: 109.7 kB / 0.8236 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.8373, allocations: 184.9 kB / 0.8238 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.8374, allocations: 106 kB / 0.8239 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.426e-05/0.8375, allocations: 81 kB / 0.8239 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8375, allocations: 0 / 0.8239 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003148/0.8378, allocations: 0.9688 kB / 0.8239 GB, free: 10.48 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 (0): * Single equations (assignments): 0 * 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.0006104/0.8384, allocations: 0.8079 MB / 0.8247 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.8385, allocations: 3.938 kB / 0.8247 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8385, allocations: 0 / 0.8247 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.8385, allocations: 3.5 kB / 0.8247 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.839, allocations: 459 kB / 0.8252 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.841, allocations: 1.533 MB / 0.8267 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.336e-05/0.8411, allocations: 55.23 kB / 0.8267 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.8411, allocations: 0 / 0.8267 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.8411, allocations: 7.438 kB / 0.8267 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of SimCode: time 1.823e-06/0.8411, allocations: 3.281 kB / 0.8267 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.8667, allocations: 1.41 MB / 0.8281 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.806, allocations: 15.25 kB / 0.8281 GB, free: 6.727 MB / 0.6198 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.479182706214488] Failed to read output from testmodel.py, exit status != 0: 8.882329761981964 8.897051826 8.061061077 Calling exit ...