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.0006837/0.0006837, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0006815/0.0006815, allocations: 210.9 kB / 23 MB, free: 2.973 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.8131/0.8131, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7098/0.7098, allocations: 203.8 MB / 0.5049 GB, free: 10.4 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [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.0008324/0.0008324, allocations: 66.52 kB / 0.7194 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4197, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001407/0.4211, allocations: 0.7334 MB / 0.8198 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.4221, allocations: 1.26 MB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.4222, allocations: 2.344 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.4222, allocations: 14.3 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.4223, allocations: 21.12 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.4228, allocations: 257 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.4231, allocations: 261.6 kB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.4232, allocations: 46.69 kB / 0.8216 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.4233, allocations: 105.2 kB / 0.8217 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.4235, allocations: 93.75 kB / 0.8217 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.4235, allocations: 26.56 kB / 0.8218 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.4236, allocations: 35.11 kB / 0.8218 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.4236, allocations: 39.09 kB / 0.8218 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.4237, allocations: 83.11 kB / 0.8219 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.4239, allocations: 250.6 kB / 0.8222 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4239, allocations: 3.844 kB / 0.8222 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4239, allocations: 0 / 0.8222 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.424, allocations: 0 / 0.8222 GB, free: 15.44 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.0004762/0.4244, allocations: 428.6 kB / 0.8226 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.4245, allocations: 12.3 kB / 0.8226 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.4245, allocations: 17.17 kB / 0.8226 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.4249, allocations: 178.8 kB / 0.8228 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4249, allocations: 13.44 kB / 0.8228 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.4249, allocations: 23.06 kB / 0.8228 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.4251, allocations: 132.7 kB / 0.8229 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4251, allocations: 7.938 kB / 0.8229 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4251, allocations: 8.453 kB / 0.8229 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4251, allocations: 2.016 kB / 0.823 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.4252, allocations: 70.55 kB / 0.823 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.4257, allocations: 357.6 kB / 0.8234 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.4258, allocations: 80.08 kB / 0.8234 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.4258, allocations: 33.86 kB / 0.8235 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.4258, allocations: 5.438 kB / 0.8235 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.4261, allocations: 138.1 kB / 0.8236 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.4261, allocations: 0 / 0.8236 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003468/0.4264, allocations: 239.8 kB / 0.8238 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.4264, allocations: 56.27 kB / 0.8239 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.4265, allocations: 144.7 kB / 0.824 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.4266, allocations: 33.55 kB / 0.8241 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.4266, allocations: 113.1 kB / 0.8242 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.4266, allocations: 35.5 kB / 0.8242 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.4267, allocations: 72.61 kB / 0.8243 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.4268, allocations: 324.9 kB / 0.8246 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.4269, allocations: 127.3 kB / 0.8247 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.4271, allocations: 190.4 kB / 0.8249 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.4272, allocations: 215.3 kB / 0.8251 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.4272, allocations: 0 / 0.8251 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003512/0.4276, allocations: 369.5 kB / 0.8254 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.4276, allocations: 67.7 kB / 0.8255 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.4276, allocations: 6.375 kB / 0.8255 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4277, allocations: 2.781 kB / 0.8255 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.161e-05/0.4277, allocations: 19 kB / 0.8255 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4277, allocations: 3.359 kB / 0.8255 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4279, allocations: 56.94 kB / 0.8256 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.4279, allocations: 17.72 kB / 0.8256 GB, free: 12.82 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.903e-05/0.428, allocations: 138.4 kB / 0.8257 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.428, allocations: 18.58 kB / 0.8258 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.428, allocations: 12.3 kB / 0.8258 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.428, allocations: 1 kB / 0.8258 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.428, allocations: 1.125 kB / 0.8258 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.428, allocations: 1.172 kB / 0.8258 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.4284, allocations: 422 kB / 0.8262 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4284, allocations: 1.812 kB / 0.8262 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.4284, allocations: 6 kB / 0.8262 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4284, allocations: 1.156 kB / 0.8262 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.4284, allocations: 8.703 kB / 0.8262 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.4284, allocations: 5.719 kB / 0.8262 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4284, allocations: 0 / 0.8262 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.4286, allocations: 297.6 kB / 0.8265 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.4286, allocations: 7.938 kB / 0.8265 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4286, allocations: 11.7 kB / 0.8265 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.4287, allocations: 5.047 kB / 0.8265 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4287, allocations: 11.3 kB / 0.8265 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.4287, allocations: 11.56 kB / 0.8265 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.4288, allocations: 95.02 kB / 0.8266 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4288, allocations: 0 / 0.8266 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002097/0.429, allocations: 57.23 kB / 0.8267 GB, free: 12.06 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.0001119/0.4291, allocations: 107.7 kB / 0.8268 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.4294, allocations: 330.6 kB / 0.8271 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4294, allocations: 0 / 0.8271 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.4295, allocations: 58.72 kB / 0.8271 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.4297, allocations: 29.31 kB / 0.8272 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.4301, allocations: 290.9 kB / 0.8274 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.808e-05/0.4301, allocations: 93.95 kB / 0.8275 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.4302, allocations: 20.2 kB / 0.8276 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.4302, allocations: 0 / 0.8276 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.003052/0.4332, allocations: 1.999 MB / 0.8295 GB, free: 11.2 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.058024749159813] Failed to read output from testmodel.py, exit status != 0: 0.4390042289160192 0.44821376900000004 0.022505359000000003 Calling exit ...