Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.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.001017/0.001017, 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.001034/0.001034, 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.932/0.932, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7349/0.7349, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.Validation.Latch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 0.6181 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.415e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001465/0.001489, allocations: 0.7309 MB / 0.6188 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.002709, allocations: 1.271 MB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.002758, allocations: 8 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.002795, allocations: 19.73 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.002861, allocations: 7.875 kB / 0.6201 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.00338, allocations: 265 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.003597, allocations: 255.6 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003722, allocations: 37.27 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.003853, allocations: 151.8 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.003975, allocations: 79.78 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.004008, allocations: 24 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.004075, allocations: 39.98 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.004108, allocations: 35.89 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.991e-05/0.004178, allocations: 79.86 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.004421, allocations: 291.2 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.004424, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004425, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.00443, allocations: 0 / 0.6213 GB, free: 10.21 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005583/0.004988, allocations: 425.2 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.005026, allocations: 12.03 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.005061, allocations: 46.73 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.00511, allocations: 24.83 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.005452, allocations: 169.8 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.005472, allocations: 16.36 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.005499, allocations: 20.38 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.00568, allocations: 130.2 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.005687, allocations: 192 / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.0057, allocations: 8.375 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.005708, allocations: 7.938 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.755e-05/0.005805, allocations: 71.89 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.006242, allocations: 379.4 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.006374, allocations: 82.53 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.006413, allocations: 32.84 kB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.006421, allocations: 4 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.006646, allocations: 139.3 kB / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.006647, allocations: 0 / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0003323/0.006979, allocations: 252.2 kB / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.00702, allocations: 55.41 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.007102, allocations: 145.7 kB / 0.6232 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.007125, allocations: 33.7 kB / 0.6233 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.007183, allocations: 112.5 kB / 0.6234 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.007201, allocations: 35.67 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.007275, allocations: 69.67 kB / 0.6235 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.007353, allocations: 322.8 kB / 0.6238 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.007477, allocations: 131.4 kB / 0.6239 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.007612, allocations: 187 kB / 0.6241 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.007772, allocations: 215 kB / 0.6243 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.007774, allocations: 4 kB / 0.6243 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003205/0.008095, allocations: 368.1 kB / 0.6247 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.008278, allocations: 71.33 kB / 0.6247 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.008285, allocations: 4 kB / 0.6247 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.008298, allocations: 0 / 0.6247 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.138e-05/0.008319, allocations: 15.92 kB / 0.6247 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.008325, allocations: 0 / 0.6247 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.00851, allocations: 64.14 kB / 0.6248 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.008529, allocations: 12 kB / 0.6248 GB, free: 6.289 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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 9.288e-05/0.008622, allocations: 142.7 kB / 0.625 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.008635, allocations: 15.91 kB / 0.625 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.008663, allocations: 12.72 kB / 0.625 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.008666, allocations: 0 / 0.625 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.008672, allocations: 7.984 kB / 0.625 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008676, allocations: 4 kB / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.00901, allocations: 460 kB / 0.6254 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009011, allocations: 0 / 0.6254 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-06/0.00902, allocations: 4 kB / 0.6254 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.009024, allocations: 4 kB / 0.6254 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.009034, allocations: 3.984 kB / 0.6254 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009035, allocations: 0 / 0.6254 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.009037, allocations: 4 kB / 0.6254 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.00923, allocations: 295.3 kB / 0.6257 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.00924, allocations: 11.91 kB / 0.6257 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.009256, allocations: 7.984 kB / 0.6257 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.009294, allocations: 8 kB / 0.6258 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.009332, allocations: 15.91 kB / 0.6258 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.009352, allocations: 11.98 kB / 0.6258 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.009397, allocations: 103 kB / 0.6259 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009397, allocations: 0 / 0.6259 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002058/0.009603, allocations: 43.94 kB / 0.6259 GB, free: 5.086 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004359/0.01004, allocations: 0.8372 MB / 0.6267 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.01033, allocations: 324.9 kB / 0.627 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.01034, allocations: 4 kB / 0.6271 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.0104, allocations: 59.89 kB / 0.6271 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01064, allocations: 31.89 kB / 0.6271 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.01236, allocations: 2.291 MB / 0.6294 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.192e-05/0.01243, allocations: 90.78 kB / 0.6295 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.01246, allocations: 13.14 kB / 0.6295 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.01251, allocations: 40.48 kB / 0.6295 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/0.01251, allocations: 3.938 kB / 0.6295 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.03304, allocations: 4.483 MB / 0.6339 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.062, allocations: 5.859 kB / 0.6339 GB, free: 12.84 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.933416636660695] Failed to read output from testmodel.py, exit status != 0: 7.147758801467717 7.16070366 7.153848202 Calling exit ...