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.001412/0.001412, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001575/0.001575, allocations: 219.3 kB / 22.26 MB, free: 5.082 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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 1.265/1.265, allocations: 203.8 MB / 0.5041 GB, free: 4.973 MB / 414.1 MB " [Timeout remaining time 178] 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.002141/0.002141, allocations: 65.59 kB / 0.7187 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6218/0.624, allocations: 102 MB / 0.8183 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002579/0.6265, allocations: 0.7596 MB / 0.8191 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.6288, allocations: 1.285 MB / 0.8203 GB, free: 252 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.6289, allocations: 4 kB / 0.8203 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.6289, allocations: 15.8 kB / 0.8204 GB, free: 232 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.438e-05/0.629, allocations: 11.86 kB / 0.8204 GB, free: 220 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009218/0.6299, allocations: 259 kB / 0.8206 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.6304, allocations: 259.4 kB / 0.8209 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.6305, allocations: 53.14 kB / 0.8209 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.6307, allocations: 103.8 kB / 0.821 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.6309, allocations: 103.7 kB / 0.8211 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.631, allocations: 24 kB / 0.8211 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.6311, allocations: 39.98 kB / 0.8212 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.6312, allocations: 31.84 kB / 0.8212 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.6313, allocations: 99.67 kB / 0.8213 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.6317, allocations: 246.7 kB / 0.8215 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.6317, allocations: 4 kB / 0.8215 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6317, allocations: 0 / 0.8215 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.6317, allocations: 0 / 0.8215 GB, free: 15.03 MB / 0.6075 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.0009327/0.6327, allocations: 431.9 kB / 0.8219 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/0.6327, allocations: 13.47 kB / 0.822 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.6328, allocations: 16.89 kB / 0.822 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.6335, allocations: 182.4 kB / 0.8222 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.6335, allocations: 16.38 kB / 0.8222 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.6336, allocations: 24.36 kB / 0.8222 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.6339, allocations: 129.5 kB / 0.8223 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.634, allocations: 3.938 kB / 0.8223 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.634, allocations: 7.984 kB / 0.8223 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.634, allocations: 4 kB / 0.8223 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.6342, allocations: 67.91 kB / 0.8224 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.6349, allocations: 427.3 kB / 0.8228 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.6351, allocations: 90.45 kB / 0.8229 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.6352, allocations: 28.84 kB / 0.8229 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.6352, allocations: 7.984 kB / 0.8229 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.6356, allocations: 135.2 kB / 0.8231 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.6356, allocations: 0 / 0.8231 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00053/0.6361, allocations: 244.5 kB / 0.8233 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.6362, allocations: 55.39 kB / 0.8233 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.6363, allocations: 133.8 kB / 0.8235 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.6363, allocations: 37.64 kB / 0.8235 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.6364, allocations: 116.6 kB / 0.8236 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.6365, allocations: 31.75 kB / 0.8236 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.6366, allocations: 73.62 kB / 0.8237 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.6368, allocations: 322.8 kB / 0.824 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.6369, allocations: 67.95 kB / 0.8241 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.6371, allocations: 129.7 kB / 0.8242 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.6374, allocations: 211 kB / 0.8244 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6374, allocations: 4 kB / 0.8244 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000622/0.638, allocations: 320.6 kB / 0.8247 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.6381, allocations: 63.39 kB / 0.8248 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6381, allocations: 7.984 kB / 0.8248 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.6382, allocations: 4 kB / 0.8248 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.929e-05/0.6382, allocations: 8 kB / 0.8248 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.6382, allocations: 7.938 kB / 0.8248 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.6385, allocations: 60.08 kB / 0.8249 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.6386, allocations: 19.98 kB / 0.8249 GB, free: 11.32 MB / 0.6075 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.0001625/0.6387, allocations: 130.8 kB / 0.825 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.6387, allocations: 15.89 kB / 0.825 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.6388, allocations: 12.78 kB / 0.825 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6388, allocations: 7.938 kB / 0.825 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6388, allocations: 0 / 0.825 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6388, allocations: 0 / 0.825 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.6393, allocations: 464.3 kB / 0.8255 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6393, allocations: 0 / 0.8255 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.6394, allocations: 7.938 kB / 0.8255 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6394, allocations: 0 / 0.8255 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.6394, allocations: 11.98 kB / 0.8255 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6394, allocations: 3.938 kB / 0.8255 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6394, allocations: 4 kB / 0.8255 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.6397, allocations: 283.3 kB / 0.8258 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.6397, allocations: 7.953 kB / 0.8258 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.6398, allocations: 11.98 kB / 0.8258 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.6398, allocations: 3.938 kB / 0.8258 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.6399, allocations: 15.97 kB / 0.8258 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.6399, allocations: 12 kB / 0.8258 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.776e-05/0.64, allocations: 101.6 kB / 0.8259 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.64, allocations: 0 / 0.8259 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003016/0.6403, allocations: 55.88 kB / 0.826 GB, free: 10.12 MB / 0.6075 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.0001743/0.6404, allocations: 107.2 kB / 0.8261 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004993/0.6409, allocations: 266.5 kB / 0.8263 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6409, allocations: 0.5 kB / 0.8263 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.885e-05/0.641, allocations: 55.97 kB / 0.8264 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.6414, allocations: 33.62 kB / 0.8264 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.6419, allocations: 259.5 kB / 0.8267 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.6423, allocations: 0.7085 MB / 0.8274 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.6424, allocations: 17.08 kB / 0.8274 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.6424, allocations: 15.44 kB / 0.8274 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.6424, allocations: 0 / 0.8274 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.005993/0.6484, allocations: 2.212 MB / 0.8296 GB, free: 6.406 MB / 0.6075 GB " [Timeout remaining time 659] 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: 6.814529309049249] Failed to read output from testmodel.py, exit status != 0: 0.6584528163075447 0.67439785 0.039289573 Calling exit ...