Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.001061/0.001061, 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.001006/0.001006, 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 0.9302/0.9302, allocations: 230.6 MB / 256 MB, free: 9.434 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.771/0.771, allocations: 203.5 MB / 0.5039 GB, free: 10.67 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_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.001466/0.001466, allocations: 65.48 kB / 0.7178 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5043, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001431/0.5057, allocations: 0.5664 MB / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 5.07e-05/0.5058, allocations: 0 / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.5058, allocations: 0 / 0.818 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.5058, allocations: 3.938 kB / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.5058, allocations: 0 / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.551e-05/0.5059, allocations: 10.06 kB / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.542e-05/0.5059, allocations: 0.7031 kB / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.506, allocations: 4.781 kB / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.506, allocations: 0 / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.294e-05/0.506, allocations: 5.641 kB / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.5061, allocations: 0 / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.5061, allocations: 3.938 kB / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.5061, allocations: 3.688 kB / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.5061, allocations: 0 / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.883e-05/0.5062, allocations: 1.547 kB / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5062, allocations: 0 / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5062, allocations: 4 kB / 0.818 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.5062, allocations: 0 / 0.818 GB, free: 0.8594 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.0002076/0.5064, allocations: 245.7 kB / 0.8182 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5064, allocations: 8.156 kB / 0.8182 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.24e-05/0.5064, allocations: 33.83 kB / 0.8183 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.722e-05/0.5065, allocations: 4.938 kB / 0.8183 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.236e-05/0.5065, allocations: 107.3 kB / 0.8184 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.5065, allocations: 2.688 kB / 0.8184 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.5065, allocations: 384 / 0.8184 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.668e-05/0.5066, allocations: 33.66 kB / 0.8184 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.5066, allocations: 7.938 kB / 0.8184 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.5066, allocations: 0 / 0.8184 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5066, allocations: 0 / 0.8184 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.414e-05/0.5066, allocations: 2.984 kB / 0.8184 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.5068, allocations: 349.8 kB / 0.8188 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.352e-05/0.5069, allocations: 176.9 kB / 0.8189 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.5069, allocations: 88.62 kB / 0.819 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.5069, allocations: 75.28 kB / 0.8191 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.507, allocations: 106.5 kB / 0.8192 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.507, allocations: 0 / 0.8192 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.559e-05/0.507, allocations: 38.17 kB / 0.8192 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.5071, allocations: 126.7 kB / 0.8193 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.5072, allocations: 98.19 kB / 0.8194 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.5072, allocations: 25.7 kB / 0.8195 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.5072, allocations: 80.7 kB / 0.8195 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.5072, allocations: 0 / 0.8195 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.5072, allocations: 11.81 kB / 0.8196 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.5073, allocations: 313.2 kB / 0.8198 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-06/0.5073, allocations: 0 / 0.8198 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.5073, allocations: 3.875 kB / 0.8199 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.5073, allocations: 83.41 kB / 0.8199 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.5073, allocations: 79.22 kB / 0.82 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.534e-05/0.5074, allocations: 30.44 kB / 0.82 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.5074, allocations: 85.42 kB / 0.8201 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.5074, allocations: 77.91 kB / 0.8202 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.184e-05/0.5075, allocations: 153.5 kB / 0.8203 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.086e-05/0.5075, allocations: 81.72 kB / 0.8204 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.856e-05/0.5075, allocations: 159.1 kB / 0.8206 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.5076, allocations: 80.06 kB / 0.8206 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.5076, allocations: 75.28 kB / 0.8207 GB, free: 13.95 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 8.013e-05/0.5077, allocations: 272.2 kB / 0.821 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.5077, allocations: 104.1 kB / 0.8211 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.5077, allocations: 117.3 kB / 0.8212 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.052e-05/0.5078, allocations: 178.1 kB / 0.8214 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/0.5078, allocations: 184.2 kB / 0.8215 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.971e-05/0.5079, allocations: 180.3 kB / 0.8217 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.508, allocations: 374.3 kB / 0.8221 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/0.508, allocations: 105.4 kB / 0.8222 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.5081, allocations: 105.5 kB / 0.8223 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.535e-05/0.5081, allocations: 184.8 kB / 0.8224 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.5082, allocations: 180.9 kB / 0.8226 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.527e-05/0.5082, allocations: 184.2 kB / 0.8228 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.425e-05/0.5082, allocations: 189.2 kB / 0.823 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.5083, allocations: 311 kB / 0.8233 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.5084, allocations: 104 kB / 0.8234 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.5084, allocations: 178.5 kB / 0.8235 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.5085, allocations: 112.7 kB / 0.8236 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.5085, allocations: 177 kB / 0.8238 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.5086, allocations: 117.4 kB / 0.8239 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.5086, allocations: 76.27 kB / 0.824 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5086, allocations: 0 / 0.824 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001597/0.5087, allocations: 7.812 kB / 0.824 GB, free: 10.44 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.0003188/0.5091, allocations: 0.8035 MB / 0.8248 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.139e-05/0.5091, allocations: 3.938 kB / 0.8248 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5091, allocations: 1.625 kB / 0.8248 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.5091, allocations: 0 / 0.8248 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.5094, allocations: 456.7 kB / 0.8252 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.5104, allocations: 1.539 MB / 0.8267 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.946e-05/0.5105, allocations: 59.08 kB / 0.8268 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.775e-06/0.5105, allocations: 0 / 0.8268 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.5105, allocations: 10.22 kB / 0.8268 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.5105, allocations: 0 / 0.8268 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.5264, allocations: 1.41 MB / 0.8282 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/7.289, allocations: 2.844 kB / 0.8282 GB, free: 6.703 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.202447744086385] Failed to read output from testmodel.py, exit status != 0: 7.370318850968033 7.383080753 6.874717555 Calling exit ...