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.001167/0.001167, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00135/0.00135, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9325/0.9325, 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.7393/0.7393, allocations: 154.6 MB / 413.8 MB, free: 0.8164 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.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: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.133e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001232/0.001253, allocations: 0.5398 MB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.159e-05/0.001285, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.001304, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.001325, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.058e-05/0.001345, allocations: 0 / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.48e-05/0.00137, allocations: 8 kB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.454e-05/0.001415, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.001455, allocations: 3.984 kB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.714e-05/0.001482, allocations: 7.984 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.572e-05/0.001498, allocations: 4 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.001512, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.745e-06/0.001515, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.001526, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.001541, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 4.602e-05/0.001587, allocations: 3.938 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.001589, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00159, allocations: 4 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.001594, allocations: 4 kB / 0.6187 GB, free: 13.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00019/0.001784, allocations: 246.3 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.001816, allocations: 8.031 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.119e-05/0.001837, allocations: 30.75 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.096e-05/0.001848, allocations: 0.9375 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.82e-05/0.001907, allocations: 105.8 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.001913, allocations: 384 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-06/0.001917, allocations: 384 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.809e-05/0.001975, allocations: 26.27 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-06/0.00198, allocations: 4.188 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.001987, allocations: 4.375 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.001993, allocations: 8.109 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.002009, allocations: 0 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.002237, allocations: 354.5 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/0.002294, allocations: 169.2 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.002317, allocations: 80.14 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.002337, allocations: 79.28 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.002367, allocations: 109.8 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 4.61e-07/0.002367, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.311e-05/0.00241, allocations: 41.62 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.002447, allocations: 126.7 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/0.002496, allocations: 93.86 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.002504, allocations: 25.7 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.002527, allocations: 88.08 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.002528, allocations: 0 / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.002542, allocations: 9.719 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.002611, allocations: 314.8 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-06/0.002615, allocations: 0 / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-06/0.002616, allocations: 0 / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.885e-05/0.002635, allocations: 75.41 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/0.002652, allocations: 79.28 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.089e-05/0.002683, allocations: 45.5 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.002707, allocations: 79.28 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.002725, allocations: 79.28 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-05/0.002763, allocations: 150.6 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.716e-05/0.00278, allocations: 83.22 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/0.002812, allocations: 150.6 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.002852, allocations: 83.22 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.002876, allocations: 79.27 kB / 0.6214 GB, free: 10.11 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 (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 6.966e-05/0.002945, allocations: 261.4 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.002982, allocations: 116.8 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.003015, allocations: 112.2 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/0.003055, allocations: 180.5 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-05/0.003098, allocations: 188.2 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.011e-05/0.003138, allocations: 180.3 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.003272, allocations: 376.2 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/0.003295, allocations: 101 kB / 0.6228 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.00332, allocations: 109 kB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.12e-05/0.003361, allocations: 184.1 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.003399, allocations: 176.3 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.795e-05/0.003437, allocations: 188.2 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.856e-05/0.003475, allocations: 176.3 kB / 0.6236 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.419e-05/0.003559, allocations: 307.8 kB / 0.6239 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.003591, allocations: 108.9 kB / 0.624 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.003639, allocations: 180.2 kB / 0.6242 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.003683, allocations: 109 kB / 0.6243 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.003725, allocations: 184.3 kB / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.003749, allocations: 104.9 kB / 0.6246 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.003772, allocations: 79.28 kB / 0.6247 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.003772, allocations: 0 / 0.6247 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001523/0.003924, allocations: 4.094 kB / 0.6247 GB, free: 6.559 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 (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.0002262/0.00415, allocations: 0.8048 MB / 0.6254 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 2.101e-05/0.004171, allocations: 3.938 kB / 0.6254 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.004173, allocations: 0 / 0.6254 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.004174, allocations: 0 / 0.6254 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.004409, allocations: 465.3 kB / 0.6259 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.005075, allocations: 1.525 MB / 0.6274 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.005108, allocations: 59.3 kB / 0.6274 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.941e-06/0.005114, allocations: 4.094 kB / 0.6274 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.005133, allocations: 8.5 kB / 0.6274 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.005134, allocations: 0 / 0.6274 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.0225, allocations: 1.532 MB / 0.6289 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.768, allocations: 14.23 kB / 0.629 GB, free: 2.152 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.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_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: 9.57203389890492] Failed to read output from testmodel.py, exit status != 0: 6.846782339736819 6.860053628 6.856646071 Calling exit ...