Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008391/0.0008391, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001332/0.001332, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.79/0.79, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IDEAS_dev_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.0009298/0.0009298, allocations: 61.97 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5587, allocations: 102 MB / 0.8179 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001552/0.5602, allocations: 0.7563 MB / 0.8186 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.5615, allocations: 1.302 MB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.5616, allocations: 0 / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.5616, allocations: 10.41 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.5617, allocations: 18.75 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.5623, allocations: 256.5 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.5625, allocations: 253.1 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.5627, allocations: 58.42 kB / 0.8205 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.5628, allocations: 108 kB / 0.8206 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.563, allocations: 100.8 kB / 0.8207 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.5631, allocations: 23.44 kB / 0.8207 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.5632, allocations: 43.2 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.5632, allocations: 36.98 kB / 0.8208 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.5633, allocations: 93.3 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.5637, allocations: 248.7 kB / 0.8211 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5637, allocations: 0 / 0.8211 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5637, allocations: 1.844 kB / 0.8211 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5637, allocations: 0 / 0.8211 GB, free: 15.14 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.0005299/0.5642, allocations: 428.2 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5642, allocations: 10.25 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.5643, allocations: 44.75 kB / 0.8215 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.5643, allocations: 17.17 kB / 0.8216 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.5647, allocations: 186.6 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.5648, allocations: 14.81 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.5648, allocations: 22.11 kB / 0.8218 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.565, allocations: 140.4 kB / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.565, allocations: 3.625 kB / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.565, allocations: 1.453 kB / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.565, allocations: 2.062 kB / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.5651, allocations: 69.73 kB / 0.822 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.5656, allocations: 419.5 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.5658, allocations: 90.59 kB / 0.8225 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.5658, allocations: 34.09 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.5658, allocations: 5.062 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.5661, allocations: 127.8 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/0.5661, allocations: 0 / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003532/0.5664, allocations: 254.9 kB / 0.8229 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.5665, allocations: 52.62 kB / 0.8229 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.5666, allocations: 142.3 kB / 0.8231 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.5666, allocations: 33.14 kB / 0.8231 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.5667, allocations: 114.2 kB / 0.8232 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.5667, allocations: 30.36 kB / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.5668, allocations: 72.86 kB / 0.8233 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5669, allocations: 325.9 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.5671, allocations: 70.88 kB / 0.8237 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.5672, allocations: 126.9 kB / 0.8238 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.5674, allocations: 213.5 kB / 0.824 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5674, allocations: 1.031 kB / 0.824 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003908/0.5678, allocations: 317.5 kB / 0.8243 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.5679, allocations: 66.58 kB / 0.8244 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5679, allocations: 3.484 kB / 0.8244 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.5679, allocations: 2.719 kB / 0.8244 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.265e-05/0.5679, allocations: 5.375 kB / 0.8244 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.5679, allocations: 8.766 kB / 0.8244 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.5681, allocations: 65.91 kB / 0.8244 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.5682, allocations: 12.81 kB / 0.8245 GB, free: 12.63 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 0.0001082/0.5683, allocations: 138 kB / 0.8246 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.5683, allocations: 15.12 kB / 0.8246 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.5683, allocations: 11.64 kB / 0.8246 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5683, allocations: 1.594 kB / 0.8246 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5683, allocations: 0 / 0.8246 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.5683, allocations: 6.875 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.5688, allocations: 459.7 kB / 0.8251 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5688, allocations: 1.375 kB / 0.8251 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-06/0.5688, allocations: 6.828 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5688, allocations: 1.5 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.5688, allocations: 12.95 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5688, allocations: 0 / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5688, allocations: 5.141 kB / 0.8251 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.569, allocations: 285.4 kB / 0.8254 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.5691, allocations: 17.17 kB / 0.8254 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.5691, allocations: 7.25 kB / 0.8254 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.5691, allocations: 2.719 kB / 0.8254 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.5692, allocations: 16.09 kB / 0.8254 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.5692, allocations: 10.53 kB / 0.8254 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.5692, allocations: 100.4 kB / 0.8255 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5692, allocations: 0 / 0.8255 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002143/0.5694, allocations: 51.98 kB / 0.8256 GB, free: 11.84 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.0005453/0.57, allocations: 0.8311 MB / 0.8264 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.5703, allocations: 268.8 kB / 0.8266 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5703, allocations: 4.125 kB / 0.8266 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.5704, allocations: 57.19 kB / 0.8267 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5707, allocations: 28.05 kB / 0.8267 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.5727, allocations: 2.045 MB / 0.8287 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.5729, allocations: 0.7081 MB / 0.8294 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.573, allocations: 14.83 kB / 0.8294 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.573, allocations: 37.53 kB / 0.8294 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.573, allocations: 0 / 0.8294 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.5952, allocations: 3.809 MB / 0.8332 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/7.298, allocations: 6.188 kB / 0.8332 GB, free: 7.938 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.409937229938805] Failed to read output from testmodel.py, exit status != 0: 7.382484263041988 7.392985945 6.827335278 Calling exit ...