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.0008043/0.0008043, 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.0008321/0.0008321, 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.9404/0.9404, 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.765/0.765, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.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: 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.001276/0.001276, allocations: 69.61 kB / 0.7178 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.5321, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001473/0.5336, allocations: 0.7429 MB / 0.8181 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.5348, allocations: 1.268 MB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.5348, allocations: 1.969 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.5349, allocations: 12.84 kB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.5349, allocations: 17.92 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.5355, allocations: 255.8 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.5358, allocations: 260.3 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.5359, allocations: 41.72 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.536, allocations: 109.1 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.5362, allocations: 93.89 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.5362, allocations: 24.31 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.5363, allocations: 41.86 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.5363, allocations: 31.48 kB / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.5364, allocations: 90.03 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.5367, allocations: 247.3 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5367, allocations: 0 / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.406e-06/0.5367, allocations: 1.469 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.5367, allocations: 0 / 0.8205 GB, free: 15.34 MB / 0.6198 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.0005171/0.5372, allocations: 425.7 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5372, allocations: 8.656 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.5373, allocations: 44.64 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.5373, allocations: 23.45 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.5377, allocations: 180.5 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5377, allocations: 14.27 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.5378, allocations: 23.91 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.538, allocations: 133.3 kB / 0.8213 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.538, allocations: 5.312 kB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.538, allocations: 2.797 kB / 0.8214 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.538, allocations: 3.016 kB / 0.8214 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5381, allocations: 69.48 kB / 0.8214 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.5386, allocations: 382.7 kB / 0.8218 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.5387, allocations: 82.48 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.5388, allocations: 35.41 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.5388, allocations: 7.875 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.539, allocations: 129.3 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.539, allocations: 0 / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003515/0.5394, allocations: 244.9 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5394, allocations: 59.69 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.5395, allocations: 144.5 kB / 0.8225 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5395, allocations: 32.86 kB / 0.8225 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.5396, allocations: 108.1 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.5396, allocations: 38.95 kB / 0.8226 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.5397, allocations: 73.39 kB / 0.8227 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.5398, allocations: 319.8 kB / 0.823 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.5399, allocations: 128.4 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.5401, allocations: 196.5 kB / 0.8233 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.5402, allocations: 217.2 kB / 0.8235 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5403, allocations: 0 / 0.8235 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003845/0.5406, allocations: 379.6 kB / 0.8239 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.5407, allocations: 67.2 kB / 0.8239 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5407, allocations: 2.719 kB / 0.8239 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5407, allocations: 2.688 kB / 0.824 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.147e-05/0.5407, allocations: 10.77 kB / 0.824 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5407, allocations: 7.766 kB / 0.824 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.5409, allocations: 56.91 kB / 0.824 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.541, allocations: 18.58 kB / 0.824 GB, free: 12.64 MB / 0.6198 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 8.718e-05/0.541, allocations: 137.3 kB / 0.8242 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.5411, allocations: 14.97 kB / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.5411, allocations: 11.56 kB / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5411, allocations: 1.406 kB / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5411, allocations: 2.062 kB / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5411, allocations: 4.594 kB / 0.8242 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.5414, allocations: 459.8 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5414, allocations: 4.891 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-06/0.5414, allocations: 1.984 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.5414, allocations: 1.438 kB / 0.8247 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.5415, allocations: 12.77 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5415, allocations: 5.344 kB / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5415, allocations: 0 / 0.8247 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.5417, allocations: 293.1 kB / 0.8249 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.5417, allocations: 10.48 kB / 0.825 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.5417, allocations: 4.484 kB / 0.825 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.5417, allocations: 3.469 kB / 0.825 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.5418, allocations: 15.2 kB / 0.825 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.5418, allocations: 14.59 kB / 0.825 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.5418, allocations: 101 kB / 0.8251 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5418, allocations: 1.062 kB / 0.8251 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000206/0.542, allocations: 48.38 kB / 0.8251 GB, free: 11.85 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: 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.0004191/0.5425, allocations: 0.831 MB / 0.8259 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.5428, allocations: 331.2 kB / 0.8263 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5428, allocations: 0.5 kB / 0.8263 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.5429, allocations: 60.36 kB / 0.8263 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.5431, allocations: 20.98 kB / 0.8263 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.5451, allocations: 2.299 MB / 0.8286 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.5452, allocations: 99.8 kB / 0.8287 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.5452, allocations: 10.77 kB / 0.8287 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.5453, allocations: 38.08 kB / 0.8287 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5453, allocations: 0 / 0.8287 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.5617, allocations: 4.371 MB / 0.833 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.443, allocations: 11.98 kB / 0.833 GB, free: 7.75 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.39461355516687] Failed to read output from testmodel.py, exit status != 0: 7.5223012352362275 7.53258124 6.993874707 Calling exit ...